HikaShop - Product reviews / product comments

  • Posts: 68
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
6 days 23 hours ago #371854

-- HikaShop version -- : 6.4.1
-- Joomla version -- : 5.4.3

Hello,

I'm testing product reviews/ratings, but I'm not getting the expected results. If a user buys a product, I expect them to be able to leave a comment about it. It's currently configured so that only users who have purchased the product can comment.

The testing flow is as follows:

Test 1

* A user places an order
* After that, the user tries to comment on the purchased product
* Error message: "you must be registered to comment on a product"

Test 2

* A user places an order
* The vendor changes the order status to "delivered"
* The buyer user tries to comment on the purchased product
* Error message: "you must be registered to comment on a product"

I am sharing the HikaShop configuration for comments / ratings with you.

Thank you!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85610
  • Thank you received: 14019
  • MODERATOR
6 days 6 hours ago #371855

Hello,

We think the error you saw was because guest customers do not have a Joomla account.

We just published a new HikaShop release with a fix for this. The "Bought" review access mode now also accepts the order_token URL parameter as proof of purchase, so guest customers can leave a verified-purchaser review by following the product link from their order confirmation email, the order status emails, the My Orders page on the front-end.

Please Log in or Create an account to join the conversation.

  • Posts: 68
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
3 days 12 hours ago #371904

Hello

I installed the new version of Hikashop and I still can't post comments or vote on a product.

The user I'm using for testing is registered in Joomla, the session is logged in, the user purchased the product, and the order was confirmed by the seller.

Whether I vote or write a comment, it generates a JavaScript error, visible in the browser console, caused by a 500 error received from the backend. You can see it in the screenshots I'm sharing.

Thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 85610
  • Thank you received: 14019
  • MODERATOR
3 days 6 hours ago #371906

Hi,

Thanks for the extra details, that was enough to reproduce on our side. The 500 was a regression from the guest reviews via order token fix we shipped earlier: the controller attaches an order_token and an order_id to the vote object so the guest authentication path can read them, but those two fields stayed on the object all the way to the INSERT statement, which tried to write them as columns of the votes table. The votes table has neither column, so MySQL rejected the insert with an "Unknown column" error and the AJAX call came back as HTTP 500. It affected both registered customers and guest customers because the two extra fields were always attached, not only on the guest path.

We just published a new HikaShop 6.4.1 build with the fix. The two fields are now stripped from the vote object right before the save. Please download the latest build from your member area and reinstall it on top of your current install; the review submission flow should work again immediately, both for your registered test user and for guests reviewing through the order email links.

Please Log in or Create an account to join the conversation.

  • Posts: 68
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
14 minutes ago #371935

Hello

I installed the new build of version 6.4.1 and I'm still having problems. Votes !are being sent correctly, but comments are still returning a 500 error on the front end and the comment list isn't updating. However, they can now be seen in the Hikashop admin panel and if I refresh the front end, the new comment appears.

I've attached screenshots from both the front end and the admin panel.

Regards

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum