Skip to content

How to increase maximum amount of order more than 100 million #3564

Closed
@kakeyang

Description

@kakeyang

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.
How can I modify maximum amount?

- 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 - 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. How can I show up correct sub-total and grand total on minicart and Summary on right column of Shipping Cart screen?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions