Skip to main content

The calculation of the vote system having error calculation

3 years 6 months ago #351655 by ler@singmuiheng.com
-- 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

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

3 years 6 months ago #351658 by ler@singmuiheng.com
also for this the voting does not reflect on it when there are votes is added

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

3 years 6 months ago #351659 by nicolas
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 or Create an account to join the conversation.

3 years 6 months ago #351667 by ler@singmuiheng.com
Can let me know which file is patch, because not possible for me to upgrade the hikashop

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

3 years 6 months ago #351671 by nicolas
I think the most important changes, regarding the vote calculations, were in administrator/components/com_hikashop/classes/vote.php

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

3 years 6 months ago #351724 by ler@singmuiheng.com
How to add for submitted successfully message after submit the comment. Currently after submit nothing is shown

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

3 years 6 months ago #351731 by nicolas
Hi,

A message should appear already:
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 or Create an account to join the conversation.

3 years 6 months ago #351757 by ler@singmuiheng.com
but it is not the submitted successfully message

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

3 years 6 months ago #351760 by nicolas
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 or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum