Verified Buyer Badge preselected?
new

By Barry Smith, 2 years ago

Hi Petr - have completed a work-around for guest buyers being able to leave a review without logging in, but unlike a customer with account, the verified buyer badge needs manually selecting, so you can't approve those reviews by clicking 'Approve' of the review notification emails. Is there a quick code edit I can use to make the verified buyer enaabled by default to ALL users. AS you know I've disabled visitors ability to leave a review unless they have actually bought something as a guest customer - thanks, Barry

By Petr Hucik, 2 years ago

This is all related to auto-login functionality not working properly.

When visitor is not logged in, we have no way to figure out if they actually made a purchase or not. We don't know id_customer that we should use to search orders for proof of sale. Therefore, we can't mark review from such visitor as verified.

The final solution is to fix auto-login for guest accounts as well. When visitors create order, the customer account is always created. In case of guest checkout this customer account is hidden, but it is there. And we can auto-log in into it, and use it as a context for review creation.

Until this is fixed, there is no easy workaround