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

#   subtotal in checkout page, strange

##

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

Less More

- Posts: 51
- Thank you received: 0
-
-

14 years 8 months ago [\#39922](#39922) by [loling](/forum/user/989-loling "View loling's Profile")  *[subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#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")* was created by *[loling](/forum/user/989-loling "View loling's Profile")*

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
[ ![Clipboard01.jpg](/forum/attachment/2787) ](/forum/attachment/2787 "Clipboard01.jpg")

[ ![Clipboard02.jpg](/forum/attachment/2788) ](/forum/attachment/2788 "Clipboard02.jpg")

[ ![Clipboard03.jpg](/forum/attachment/2789) ](/forum/attachment/2789 "Clipboard03.jpg")

- [ ![Clipboard01.jpg](/forum/attachment/2787) ](/forum/attachment/2787 "Clipboard01.jpg") [ ](/forum/attachment/2787?download=1 "Clipboard01.jpg")
- [ ![Clipboard02.jpg](/forum/attachment/2788) ](/forum/attachment/2788 "Clipboard02.jpg") [ ](/forum/attachment/2788?download=1 "Clipboard02.jpg")
- [ ![Clipboard03.jpg](/forum/attachment/2789) ](/forum/attachment/2789 "Clipboard03.jpg") [ ](/forum/attachment/2789?download=1 "Clipboard03.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 8
- Thank you received: 0
-
-

14 years 8 months ago [\#39931](#39931) by [bchandra83](/forum/user/6137-bchandra83 "View bchandra83's Profile")  Replied by *[bchandra83](/forum/user/6137-bchandra83 "View bchandra83's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#39931 "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")*

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](http://www.hikashop.com/en/forum/3-bug-report/39280-hikashop-checkout-cart-final-total-problem.html)
But still get no answer yet ![:(](/media/kunena/emoticons/22.png ":(")

Please anyone there have the solution? Hikashop support where are you guys? ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 51
- Thank you received: 0
-
-

14 years 8 months ago [\#40036](#40036) by [loling](/forum/user/989-loling "View loling's Profile")  Replied by *[loling](/forum/user/989-loling "View loling's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40036 "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")*

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](http://www.kliknshop.com)

Any idea how to fix this Mr. Nicolas?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 8 months ago [\#40137](#40137) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40137 "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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 51
- Thank you received: 0
-
-

14 years 8 months ago [\#40145](#40145) by [loling](/forum/user/989-loling "View loling's Profile")  Replied by *[loling](/forum/user/989-loling "View loling's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40145 "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")*

i have changed all hikashop tables that have decimal property 12.5 to 16.5 and it still does not work ![=(](/frown.gif "=(")

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 8 months ago [\#40237](#40237) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40237 "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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 51
- Thank you received: 0
-
-

14 years 8 months ago [\#40269](#40269) by [loling](/forum/user/989-loling "View loling's Profile")  Replied by *[loling](/forum/user/989-loling "View loling's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40269 "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")*

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

[ ![Clipboard01&#95;2012-02-20.jpg](/forum/attachment/2839) ](/forum/attachment/2839 "...2012-02-20.jpg")

- [ ![Clipboard01&#95;2012-02-20.jpg](/forum/attachment/2839) ](/forum/attachment/2839 "...2012-02-20.jpg") [ ](/forum/attachment/2839?download=1 "...2012-02-20.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 8 months ago [\#40322](#40322) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40322 "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")*

I posted the solution which worked for me:
[ www.hikashop.com/forum/3-bug-report/3928...m.html?lang=en#40262](http://www.hikashop.com/forum/3-bug-report/39280-hikashop-checkout-cart-final-total-problem.html?lang=en#40262)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 51
- Thank you received: 0
-
-

14 years 8 months ago [\#40427](#40427) by [loling](/forum/user/989-loling "View loling's Profile")  Replied by *[loling](/forum/user/989-loling "View loling's Profile")* on topic *[Re: subtotal in checkout page, strange](/forum/3-bug-report/39922-subtotal-in-checkout-page-strange#40427 "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")*

works really well
thanks nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zOTkyMi1zdWJ0b3RhbC1pbi1jaGVja291dC1wYWdlLXN0cmFuZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.120 seconds

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