cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase maximum amount of order more than 100 million

How to increase maximum amount of order more than 100 million

Hi,

 

I'm looking for the solution related to title.

By default of Magento, it's only 100 million but it's too small digit for Vietnamese dong.

 

<What I did>

- Change type of some fields of these tables from decimal(12,4) to decimal(24,4).

  +cataloginventory_stock_item

  +cataloginventory_stock_status

  +catalog_product_entity_decimal

  +catalog_product_index_price

  +catalog_product_index_price_tmp

  +catalog_product_index_price_final_tmp

- Change constant definition

  +MAX_QTY_VALUE -> 99999999999.9999

  +MAXIMUM_AVAILABLE_NUMBER -> 99999999999

 

<Current status>

- Able to calculate total amount over 100 million and sub-total on Shipping Cart screen and values on order confirmation email are correct

- Sub-total on minicart and Summary on right column of Shipping Cart screen is still wrong and always show 100 million when total amount is over 100 million.

 

<What I want to know>

How can I show up correct sub-total and grand total on minicart and Summary on right column of Shipping Cart screen?

1 REPLY

Re: How to increase maximum amount of order more than 100 million

We are facing the same problem here. We need solution to set product and checkout above 100 million. Need this solution for both Magento version 1.9 and version 2.