How to make coupons based on number of products selected by the user?

  • mqiuelfuster
    Asked on October 3, 2019 at 11:26 AM

    Is it possible to create a discount coupon based on the number of items selected? I want to create a 3 x 2 discount  if the number of items purchased is 3

  • KrisLei Jotform Support
    Replied on October 3, 2019 at 12:36 PM

    Hi,

    Unfortunately, the coupon codes on the payment tool are only set to Percentage and Fixed amount. 

    For your reference: How to Add Coupon Code to Payment Forms

    However, you can manually make a coupon code according to your preferences by adding a Short Text Field on the form builder.

    1570120057Short Text Entry Screenshot 10

    Then apply Conditional Logic, which will calculate the number of items selected by the user.

    1570120073Update calculate field Screenshot 21

    Guide: How to Insert Text or Calculation into a Field Using-Conditional-Logic

    Please note that Coupon Codes outside the payment tool are not hidden on the Source Code of the form, and advanced users might be able to find it.