-
lovingnaturecoffeeAsked on May 12, 2021 at 10:02 AM
After applying coupon, there's decimal places even though I turn off decimal in the setting. Is it possible to round off the total amount with no decimal places? Thanks!
-
Nikola JotForm SupportReplied on May 12, 2021 at 11:08 AM
Your form does not have decimal places.
Did you resolve the issue? If the issue is related to some other form, please share the form URL or a webpage URL if the issue is related to an embedded form.
-
lovingnaturecoffeeReplied on May 12, 2021 at 11:43 AM
thanks for your reply. I mean invoice instead, after filling the form and the invoice generated, there are decimal place shown. How could I fix it? Thanks!
-
enterprisesupportteamReplied on May 12, 2021 at 12:56 PM
Hello @lovingnaturecoffee,
Thank you for the clarification.
I did review the invoices on your account and it seems that they do have decimals in the price totals. Unfortunately, this cannot be changed as this is the exact amount that was charged to the person that made the purchase.
Please note that purchased details cannot be edited as they are saved and registered to the payment integration that you have connected to the products list field.
Also, I did run a test submission on your form and I can see that the decimals are still showing when the coupon code is applied. This happens because you are subtracting 12% from the products and that automatically makes them decimals. There is no option for rounding up or down to remove the decimals when a coup code is applied.
Your best option here would be to subtract a fixed number from the products instead of a percentage to prevent decimals in the price totals.
-
lovingnaturecoffeeReplied on May 12, 2021 at 10:29 PM
Thanks for the reply. In fact, because I want different discount amount on different products with the same coupon code, is that possible?
Like the first item sells at $80, I want the discount amount is $10, and the remaining sells at $68 and I want the discount amount is $8, can I set the coupon in this way? -
Mike_G JotForm SupportReplied on May 12, 2021 at 11:57 PM
I would like to apologize for any inconvenience. I'm afraid that the feature you are looking for is not available. There seem to be no options to have different discount amounts or percentages for different products using the same coupon code.
Feel free to let us know if you need any further assistance.