- Posts: 13
- Thank you received: 0
Vote and Comment Access Level
- rayjbarrett
-
Topic Author
- Offline
Less
More
1 year 2 weeks ago #368474
by rayjbarrett
Vote and Comment Access Level was created by rayjbarrett
-- HikaShop version -- : 6.0.0
-- Joomla version -- : 5.3.2
-- PHP version -- : 8.4
In Hikashop-Config-System-Features-Vote&Comment I have the 'Choose the access level for votes or comments' field set to 'Bought' but any logged in user (registered role) can leave a comment or vote even if they did not purchase the product. I beleive it was working in the past but the restriction is no longer working.
How do I resolve this?
-- Joomla version -- : 5.3.2
-- PHP version -- : 8.4
In Hikashop-Config-System-Features-Vote&Comment I have the 'Choose the access level for votes or comments' field set to 'Bought' but any logged in user (registered role) can leave a comment or vote even if they did not purchase the product. I beleive it was working in the past but the restriction is no longer working.
How do I resolve this?
Please Log in or Create an account to join the conversation.
1 year 2 weeks ago #368475
by nicolas
Replied by nicolas on topic Vote and Comment Access Level
Hi,
That's an issue we fixed in HikaShop 6.1.0.
So, update your HikaShop and you'll have the patch for this.
That's an issue we fixed in HikaShop 6.1.0.
So, update your HikaShop and you'll have the patch for this.
Please Log in or Create an account to join the conversation.
- rayjbarrett
-
Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
1 year 1 week ago #368550
by rayjbarrett
Replied by rayjbarrett on topic Vote and Comment Access Level
I updated to 6.1.0, but it seems that users who haven't purchased a product can still leave a rating or comment, despite my settings selecting that they must have bought it.
Please Log in or Create an account to join the conversation.
1 year 1 week ago #368551
by nicolas
Replied by nicolas on topic Vote and Comment Access Level
Hi,
I'm not able to reproduce the problem with the 6.1.0
I properly get the message "You must have bought this item in order to post a vote or a comment" instead of the comment / vote form when I access a product which I didn't bought while being logged in on the website.
Could it be that you have some old view overrides in your template which prevent you from having the patches we made ?
Or maybe it could be that you have page caching on your website and thus the users all see the same page ?
Check if you have the folder templates/YOUR_TEMPLATE/com_hikashop/ via FTP.
If you do, try renaming it to something else temporarily in order to deactivate all the overrides for HikaShop. Also, clear the cache of your website, and then try reproducing the issue. If you don't have the issue anymore, then it's probably coming from one of the override files or the cache. You could try to renaming the product subfolder or the vote subfolder to try to narrow down the source. And then the files in them.
If, even with the overrides disabled and the cache cleared, you still have the problem, then please provide a backend access and a frontend access with the issue and the URL of a product page with the issue via our contact form so that we can look at the issue:
www.hikashop.com/support/contact-us.html
I'm not able to reproduce the problem with the 6.1.0
I properly get the message "You must have bought this item in order to post a vote or a comment" instead of the comment / vote form when I access a product which I didn't bought while being logged in on the website.
Could it be that you have some old view overrides in your template which prevent you from having the patches we made ?
Or maybe it could be that you have page caching on your website and thus the users all see the same page ?
Check if you have the folder templates/YOUR_TEMPLATE/com_hikashop/ via FTP.
If you do, try renaming it to something else temporarily in order to deactivate all the overrides for HikaShop. Also, clear the cache of your website, and then try reproducing the issue. If you don't have the issue anymore, then it's probably coming from one of the override files or the cache. You could try to renaming the product subfolder or the vote subfolder to try to narrow down the source. And then the files in them.
If, even with the overrides disabled and the cache cleared, you still have the problem, then please provide a backend access and a frontend access with the issue and the URL of a product page with the issue via our contact form so that we can look at the issue:
www.hikashop.com/support/contact-us.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.223 seconds