subtotal in checkout page, strange

  • Posts: 51
  • Thank you received: 0
12 years 9 months ago #39922

Hi there

i have used hikashop starter for one year and never found this until just now. This is a case in calculation of invoice in checkout process.

case:
-if products are totaled for 1.200.000, then the calculation for 'sub total' is 0
-if products are totaled for other than 1.200.000, then the calculation for 'sub total' is working fine
-i have tried different products combination to recreate the case, and yes they do recreate the case.
-im not sure whether there is other number that will make 'sub total' to 0

i attached screenshots for better understanding

Any idea how to fix this??

Thanks





Attachments:

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

  • Posts: 8
  • Thank you received: 0
12 years 9 months ago #39931

Hi there, I have same problem. I have posted too the problem : www.hikashop.com/en/forum/3-bug-report/3...l-total-problem.html
But still get no answer yet :(

Please anyone there have the solution? Hikashop support where are you guys? :(

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

  • Posts: 51
  • Thank you received: 0
12 years 9 months ago #40036

well we have the same problem. I've tried it as well in my local, and it works fine in local. Only in live website that it does not work.

Joomla 1.6
hikashop 1.5.5
web www.kliknshop.com

Any idea how to fix this Mr. Nicolas?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #40137

That's because your numbers are too big. You' ll have to edit all the decimal fields of the hikashop tables via your phpmyadmin and change their length from 12.5 to 16.5

That should fix your problem.

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

  • Posts: 51
  • Thank you received: 0
12 years 9 months ago #40145

i have changed all hikashop tables that have decimal property 12.5 to 16.5 and it still does not work =(

for my case, i only find that subtotal 1.200.000 has this problem. If subtotal greater than 1.200.000, it is working fine. And i have looked at my local phpmyadmin, the decimal is 12.5 as well, but it is working fine..

Any other option Nicolas??

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #40237

I tried on my end but I don't have any problems with 1200000.

Could you do a screenshot of your currency options editions screen so that we can see how you set up your currency. Maybe it comes from one of the settings there...

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

  • Posts: 51
  • Thank you received: 0
12 years 9 months ago #40269

yes, that is why this is a strange behavior, i couldn't produce same case in my local either (eventhough my local is the exact replica using akeeba backup)

I hope this is the screenshot that you after

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #40322

I posted the solution which worked for me:
www.hikashop.com/forum/3-bug-report/3928...m.html?lang=en#40262

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

  • Posts: 51
  • Thank you received: 0
12 years 9 months ago #40427

works really well
thanks nicolas

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

Time to create page: 0.099 seconds
Powered by Kunena Forum