Developer forum

Forum » Ecommerce - Standard features » the Maximum total order amount for Order discount

the Maximum total order amount for Order discount

Aung Lin Htut
Reply

I created an order discount setup on a version 8.9.3. and facing one issue.

In Order Discount setting, I cannot put order amount up to 100000000 in the total price conduction field. Indonesia currency is very lower than the other countries and it makes many digit number of order amount, therefore, I need to use total order amount => 1000000000 in the total order price field. I would like to use more than 100000000, please advise to use to use more than 10000000 in the total price field.

kindly check screenshot in attachment. 

Loom link: https://www.useloom.com/share/655341debdbc4f8a89ecea2e32669941

Image_3.jpg

Replies

 
Nicolai Pedersen
Reply

Hi Aung Lin

You solution looks like a 9.5.*?

I've made an update so you can use numbers up to 1000000000000000, TFS#57206, will be released with the next hotfix of 9.5.

Until then, you can locate \Admin\Module\eCom_Catalog\dw7\edit\EcomOrderDiscount_Edit.aspx and locate the control rendering the amount field and update it:

<omc:FloatingPointNumberSelector ID="numAmount" AllowNegativeValues="false" MinValue="0.00" MaxValue="1000000000000000" runat="server" />

This is a UI limitation only - the field in the database is a float, and can take high numbers.

BR Nicolai

 

You must be logged in to post in the forum