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

#   The calculation of the vote system having error calculation

##

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

Less More

- Posts: 575
- Thank you received: 11
-
-

3 years 6 months ago [\#351655](#351655) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351655 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")* was created by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")*

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.2.34
-- Browser(s) name and version -- : chrome

Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star

This message contains confidential information

- [ ![Capture-ainz&#95;2023-05-11.JPG](/forum/attachment/57025) ](/forum/attachment/57025 "...2023-05-11.JPG") [ ](/forum/attachment/57025?download=1 "...2023-05-11.JPG")

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

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

Less More

- Posts: 575
- Thank you received: 11
-
-

3 years 6 months ago [\#351658](#351658) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351658 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

also for this the voting does not reflect on it when there are votes is added

- [ ![Capture-ainz2.JPG](/forum/attachment/57026) ](/forum/attachment/57026 "Capture-ainz2.JPG") [ ](/forum/attachment/57026?download=1 "Capture-ainz2.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDYzNzktdGhlLWNhbGN1bGF0aW9uLW9mLXRoZS12b3RlLXN5c3RlbS1oYXZpbmctZXJyb3ItY2FsY3VsYXRpb24/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

3 years 6 months ago [\#351659](#351659) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351659 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

Hi,

There were important issues with votes which were fixed in HikaShop 4.4.0.
I would recommend updating to the latest version of HikaShop. Then, post a new vote on that product, and it should sort itself out.

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

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

Less More

- Posts: 575
- Thank you received: 11
-
-

3 years 6 months ago [\#351667](#351667) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351667 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

Can let me know which file is patch, because not possible for me to upgrade the hikashop

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDYzNzktdGhlLWNhbGN1bGF0aW9uLW9mLXRoZS12b3RlLXN5c3RlbS1oYXZpbmctZXJyb3ItY2FsY3VsYXRpb24/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

3 years 6 months ago [\#351671](#351671) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351671 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

I think the most important changes, regarding the vote calculations, were in administrator/components/com_hikashop/classes/vote.php

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

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

Less More

- Posts: 575
- Thank you received: 11
-
-

3 years 6 months ago [\#351724](#351724) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351724 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

How to add for submitted successfully message after submit the comment. Currently after submit nothing is shown

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDYzNzktdGhlLWNhbGN1bGF0aW9uLW9mLXRoZS12b3RlLXN5c3RlbS1oYXZpbmctZXJyb3ItY2FsY3VsYXRpb24/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

3 years 6 months ago [\#351731](#351731) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351731 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

Hi,

A message should appear already:
[ i.imgur.com/p83oCqx.png](https://i.imgur.com/p83oCqx.png)
However, you don't have CSS code to highlight it.
You could add some CSS to make it more obvious. For example : Code:

.hikashop_vote_notification{ color: green; font-weight: 1.5em; }

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

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

Less More

- Posts: 575
- Thank you received: 11
-
-

3 years 6 months ago [\#351757](#351757) by [ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")  Replied by *[ler@singmuiheng.com](/forum/user/3330-ler-singmuiheng-com "View ler@singmuiheng.com's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351757 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

but it is not the submitted successfully message

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDYzNzktdGhlLWNhbGN1bGF0aW9uLW9mLXRoZS12b3RlLXN5c3RlbS1oYXZpbmctZXJyb3ItY2FsY3VsYXRpb24/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

3 years 6 months ago [\#351760](#351760) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[The calculation of the vote system having error calculation](/forum/3-bug-report/906379-the-calculation-of-the-vote-system-having-error-calculation#351760 "-- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.21 -- PHP version -- : 7.2.34 -- Browser(s) name and version -- : chrome  Please help to check this for the vote and comment, the maximum star is set to 5, but end up with got 10 star")*

Hi,

There is a similar message "vote updated" displayed for a few seconds at the same place once a comment is sent.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDYzNzktdGhlLWNhbGN1bGF0aW9uLW9mLXRoZS12b3RlLXN5c3RlbS1oYXZpbmctZXJyb3ItY2FsY3VsYXRpb24/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.070 seconds

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