Community

Discount applied is not getting calculated in the order summary

Antony Henry

Jul 22, 2025

Comments (1)

Vipin

Jul 22, 2025

Add a field to calculate discount Login to Neartail > click on the form to open it > Edit page will be displayed > In the Neartail Edit page, click on the Add field price field icon > select Discount, click Next > select Fixed amount, click Next > Enter the discount amount and click Create. Calculate total amount In the Neartail Edit page, click on the Add price field icon > select Net amount, click Next > select Standard calculation using NETTOTAL() formula, click Next > click Create. NETTOTAL function This function automatically calculates the net amount based on the fields mapped in the Summary settings page. It adds the fields mapped for Amount, Delivery Fee, Tip, Donation, Taxes, and subtracts the Discount to calculate the net amount. When you use the Add price field option, it automatically maps the fields in the Summary settings page. If you used the Add field option, you will have to manually map the fields in the Summary settings page. Summary settings The Summary settings page allows you to select the relevant fields from the form for options such as Amount, Discount, Tax, Delivery Fee, Tip, Donation, Net amount. The mapping in the Summary settings allows Neartail to identify the field with the amount to be charged and pass this amount to the selected payment option. This mapping is also used to show the order summary. If you have mapped a field for the Net amount option, the answer for that field will be passed to the selected payment option. Otherwise, the answer for the field mapped for the Amount option will be passed. Update settings Login to Neartail > click on the to open it > Edit page will be displayed > In the Neartail Edit page, click on the form title to select it > click on the gear icon next to the form title > Form settings page will be displayed > click on the configure key fields icon next to the Save button in the bottom right corner > Summary settings page will be displayed > select the correct fields for the Amount, Discount, Tax, Delivery Fee, Tip, Donation, Net amount option and click Save. If you are not charging a delivery fee, taxes etc, you can select None from the dropdown list for the respective options in the Summary settings page.

Add your comment