As many others before me, I'd like a way to set up coupons codes that i

  • Profile Image
    ubus
    Asked on May 21, 2018 at 02:38 AM

    As many others before me, I'd like a way to set up coupons codes that is not manual, one-by-one. Ideally these would be imported from a CSV file containing the code, number of uses, expiry date, applicable product and discount. In a reply from 2013 you suggested that this could be accomplished using "Conditions". However, it appears that "Conditions" no longer exist as a form element. Can you please provide a way to do this?



    This is a re-post of a comment on How to Add Coupon Code to Payment Forms

  • Profile Image
    Scott
    Answered on May 21, 2018 at 09:17 AM

    Hi Ubus,

    There is no way to directly import coupons via CSV to the payment gateway.

    But, if you are willing to, you can use the spreadsheet to form widget, use the coupon values in your calculations on form calculation widget and lastly, configure your payment gateway to get the final price from the calculation widget.

    1- How to Use the Spreadsheet to Form Widget

    2- How to Perform Form Calculation Using a Widget

    3- How to Pass a Calculation to a Payment Field

    Let us know if you need further assistance.

    Cheers!