![]() ![]() Insert the merge tag for the calculation in your Total field to display the discount for the total. In this demo, we use a percentage coupon code and multiply the two fields. Set up the merge tags for the Product and Discount Rate fields. ![]() Navigate to the Advanced tab in the builder, open Calculations, and name your calculation. For a flat discount, subtract the Discount Rate field from the Product field. To modify the Total with the discount rate of the coupon code, create a calculation using the Product and Discount Rate fields.įor a percentage discount, multiply the Product field by the Discount Rate field. Step 2: Create a single calculation to modify your total We’ll demo a percentage discount in this example, so the Default Value is set to 1. In the Discount Rate field, set the Default Value to 1 for a percentage discount and 0 for a flat discount. Ensure that the field supports calculations. The “Choose your plan” field represents the product/service to which you want to apply the discount. However you’re currently handling your total price, you’ll need to use an HTML field to do this. This is a Hidden field that will contain the discount value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |