Jump to content

Commerce/Nexus Reviews Bypass


Recommended Posts

Hello,

IPS Commerce/Nexus has the option for individual items to be reviewed. In order to leave a review a person has to purchase that item. I understand why IPS did this, obviously you don't want people reviewing something they did not purchase, makes sense.

What I'm requesting, is a plugin, that will bypass or disable the if purchased check, to let anyone leave a review on an item. But still maintains the if user logged in check, i.e. don't want guests to leave reviews. (Looking at a budget of 15 USD, Adriano Faira asked me to include this as he was charging 75 USD)

Why is that important? Well let's say in your store you have items that people could have purchased elsewhere i.e. a venue, a convention, by mailorder direct, etc... Or let's say you were using a different website software and people previously purchased an item from you, and you upgraded to IPS, rather than forcing people to repurchase something a second time to leave a review, this will allow them to make the review without the purchase.

Thanks!

Edited by Insydius
Link to comment

I decided to do it myself, now mind you this is by no means an actual plugin or proper in IPS coding guidelines, it's a dirty method but it gets the job done if anyone's interested. And free! but use at your own risk.

The product must have reviews enabled, this is set no by default to make sure to check green.

image.png.35db44253dd0ca9c422afbc05502886a.png

 

You'll want to navigate in your FTP and find the file

applications/nexus/sources/Package/Item.php

In the function canReview, the third if statement in this function you'll want to change to TRUE.

image.png.6d3dfadb40e60653bc5109da26bdb5d5.png

And that does it, this is an all or nothing deal and not configurable per item like CoffeeCake suggested.

But will allow all logged in users to leave 1 review each regardless if they have purchased the item or not, and if the item allows reviews.

That's it!

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...