[Skip to main content](#vessel-content)

#   double-click on the rating star

##

- **[aron555](/forum/user/51176-aron555 "View aron555's Profile")**
- [![aron555's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51176-aron555 "View aron555's Profile") Topic Author
- [ Offline](/forum/user/51176-aron555)

Less More

- Posts: 17
- Thank you received: 2
-
-

7 years 8 months ago -  7 years 8 months ago [\#303991](#303991) by [aron555](/forum/user/51176-aron555 "View aron555's Profile")  *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#303991 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")* was created by *[aron555](/forum/user/51176-aron555 "View aron555's Profile")*

-- url of the page with the problem -- : [ fa4.ru](http://fa4.ru)
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.3
-- PHP version -- : 7.2.10
-- Browser(s) name and version -- : mobile chrome and safari for iphone 6

enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once
[ ![double-click-rating-star.jpg](/forum/attachment/46151) ](/forum/attachment/46151 "...ating-star.jpg")

- [ ![double-click-rating-star.jpg](/forum/attachment/46151) ](/forum/attachment/46151 "...ating-star.jpg") [ ](/forum/attachment/46151?download=1 "...ating-star.jpg")

Last edit: 7 years 8 months ago by [aron555](/forum/user/51176-aron555 "View aron555's Profile"). Reason: replace browsers name

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 years 8 months ago [\#303993](#303993) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#303993 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

Hi,

I just tried on your website but I'm not able to reproduce the problem.
I was able to post a "test" comment on a product page of your website with my android smartphone with the chrome browser by only clicking once on the star rating.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 years 8 months ago [\#304021](#304021) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#304021 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

Hi,

Please try to add the code: Code:

if(hikaVote.options.both == '1' &amp;&amp; hikashop_vote_comment == '' &amp;&amp; val != 0) return;

after the line: Code:

hikashop_vote_comment = d.getElementById("hikashop_vote_comment").value;

in the file media/com_hikashop/js/vote.js and then clear the cache of your browser.
That should help with that issue I think.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aron555](/forum/user/51176-aron555 "View aron555's Profile")**
- [![aron555's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51176-aron555 "View aron555's Profile") Topic Author
- [ Offline](/forum/user/51176-aron555)

Less More

- Posts: 17
- Thank you received: 2
-
-

7 years 7 months ago [\#305138](#305138) by [aron555](/forum/user/51176-aron555 "View aron555's Profile")  Replied by *[aron555](/forum/user/51176-aron555 "View aron555's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305138 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

saw that you added this code in hikashop, thank you, works! There were new troubles. No longer display the change of rating and information about the fact that the review is added to the tooltip.
Errors in dev chrome:
hikashop.js?v=403:217 POST [ krossovki1.ru/katalog/krossovki/krossovk.../save/tmpl-component](https://krossovki1.ru/katalog/krossovki/krossovki-nike/nike-air-max-95/vote/save/tmpl-component) 500
xRequest @ hikashop.js?v=403:217
hikaVote.vote @ vote.js:84
hikashop_send_vote @ nike-air-max-95-sneakerboot-grey:79
click @ vote.js:317
(anonymous) @ vote.js:212
vote.js:86 Uncaught TypeError: Cannot read property 'error' of null
at vote.js:86
at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=403:206)
(anonymous) @ vote.js:86
xhr.onreadystatechange @ hikashop.js?v=403:206
XMLHttpRequest.send (async)
xRequest @ hikashop.js?v=403:217
hikaVote.vote @ vote.js:84
hikashop_send_vote @ nike-air-max-95-sneakerboot-grey:79
click @ vote.js:317
(anonymous) @ vote.js:212
hikashop.js?v=403:217 POST [ krossovki1.ru/katalog/krossovki/krossovk.../save/tmpl-component](https://krossovki1.ru/katalog/krossovki/krossovki-nike/nike-air-max-95/vote/save/tmpl-component) 500
xRequest @ hikashop.js?v=403:217
hikaVote.vote @ vote.js:84
hikashop_send_vote @ nike-air-max-95-sneakerboot-grey:79
click @ vote.js:317
(anonymous) @ vote.js:212
vote.js:86 Uncaught TypeError: Cannot read property 'error' of null
at vote.js:86
at XMLHttpRequest.xhr.onreadystatechange (hikashop.js?v=403:206)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 years 7 months ago [\#305153](#305153) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305153 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

Hi,

I'm not able to get these errors on your website.
I did a test on the page [ fa4.ru/katalog/krossovki/krossovki-adida...limacool-1-dark-blue](http://fa4.ru/katalog/krossovki/krossovki-adidas/adidas-climacool/adidas-climacool-1-dark-blue) and I was able to add a vote with a comment.
Could you please provide precise instructions to reproduce the problem and get the error ?
Also, some screenshot might help understand what to do on the page ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aron555](/forum/user/51176-aron555 "View aron555's Profile")**
- [![aron555's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51176-aron555 "View aron555's Profile") Topic Author
- [ Offline](/forum/user/51176-aron555)

Less More

- Posts: 17
- Thank you received: 2
-
-

7 years 7 months ago [\#305360](#305360) by [aron555](/forum/user/51176-aron555 "View aron555's Profile")  Replied by *[aron555](/forum/user/51176-aron555 "View aron555's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305360 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

sorry, new domain - krossovki1.ru . [ krossovki1.ru/katalog/krossovki/krossovk...adidas-sobakov-black](https://krossovki1.ru/katalog/krossovki/krossovki-adidas/adidas-sobakov/adidas-sobakov-black)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 7 months ago -  7 years 7 months ago [\#305376](#305376) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305376 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

Hello,

Sorry but when we use your **2 last url link** we have a product page **without rating or comment**...
Can you provide like Nicolas asked a **step by step process** and all required to be able to reproduce your issue, or move forward on your subject will be difficult.

Awaiting more elements from you.
Regards

Last edit: 7 years 7 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aron555](/forum/user/51176-aron555 "View aron555's Profile")**
- [![aron555's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51176-aron555 "View aron555's Profile") Topic Author
- [ Offline](/forum/user/51176-aron555)

Less More

- Posts: 17
- Thank you received: 2
-
-

7 years 7 months ago [\#305456](#305456) by [aron555](/forum/user/51176-aron555 "View aron555's Profile")  Replied by *[aron555](/forum/user/51176-aron555 "View aron555's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305456 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

1.jpg - go to comments.
2.jpg - after writing a comment and rating, there is no notification that the comment has been added (or not added)

- [ ![2.jpg](/forum/attachment/46539) ](/forum/attachment/46539 "2.jpg") [ ](/forum/attachment/46539?download=1 "2.jpg")
- [ ![1.jpg](/forum/attachment/46540) ](/forum/attachment/46540 "1.jpg") [ ](/forum/attachment/46540?download=1 "1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

7 years 7 months ago [\#305459](#305459) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305459 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

Hi,

When I reproduce the error on that page and look at the response from the server, I can see that there is a 500 error returned with a fatal error caused by an incorrect MySQL query:
[ monosnap.com/file/8AWwTXOfpAwBJ9I3iUWIGawfFg5pxN](https://monosnap.com/file/8AWwTXOfpAwBJ9I3iUWIGawfFg5pxN)
Unfortuately, that's not the whole query so I'm not sure where that query comes from.
It seems to be related to SEF routing.
I would recommend first to do that modification to get the full MySQL query when you get that error:
[ www.hikashop.com/support/forum/product-c...eld-list.html#304882](https://www.hikashop.com/support/forum/product-category-display/897111-1054-unknown-column-b-product-volume-in-field-list.html#304882)
That will help better understand the situation.
Also ideally, you should activate the "error reporting" and the "debug mode" settings of the Joomla configuration and reproduct the issue and look at the response from the server in the network area of your browser's developer tools. That way, instead of having the MySQL query and the limited error message in the response like I got, you would also get more information about which lines of which files are involved in that issue which would help understand the situation and provide a solution.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aron555](/forum/user/51176-aron555 "View aron555's Profile")**
- [![aron555's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/51176-aron555 "View aron555's Profile") Topic Author
- [ Offline](/forum/user/51176-aron555)

Less More

- Posts: 17
- Thank you received: 2
-
-

7 years 7 months ago -  7 years 7 months ago [\#305638](#305638) by [aron555](/forum/user/51176-aron555 "View aron555's Profile")  Replied by *[aron555](/forum/user/51176-aron555 "View aron555's Profile")* on topic *[double-click on the rating star](/forum/42-vote/896949-double-click-on-the-rating-star#305638 "-- url of the page with the problem -- :   fa4.ru  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.3 -- PHP version -- : 7.2.10 -- Browser(s) name and version -- : mobile chrome and safari for iphone 6  enabled setting - voting and comments together. on mobile browsers, to post a comment, you need to double-click on the rating star, otherwise the comment is not sent. how to change this behavior to just click on the star rating once")*

The problem was in my plugin where I used public function onAfterProductCreate(&amp;$element)
[ www.hikashop.com/forum/vote/897194-error...nistrative-part.html](https://www.hikashop.com/forum/vote/897194-error-deleting-review-of-the-administrative-part.html) - also the problem was due to use onAfterProductCreate(&amp;$element)

Last edit: 7 years 7 months ago by [aron555](/forum/user/51176-aron555 "View aron555's Profile").

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQyLXZvdGUvODk2OTQ5LWRvdWJsZS1jbGljay1vbi10aGUtcmF0aW5nLXN0YXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.067 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
