Skip to main content

Create a shipping method for vouchers

To create a custom shipping method that only applies when one or more gift vouchers are ordered, follow these steps:

  1. Insert extended SQL query
    Go to Settings → Basic Settings → Storefront → Shipping costs module. Insert the following text after the last character of the line Extended SQL query:

    ,MIN(IFNULL(at.viison_coupon, 0)) AS allviisoncoupon
  2. Edit all existing shipping methods
    Next, all existing shipping methods under Settings → Shipping costs need to be edited. To do this, insert the following text in the Custom conditions field on the Advanced settings tab of each shipping method:

    !allviisoncoupon
  3. Create new voucher shipping method
    Finally, create a shipping method that only applies when exclusively one or more vouchers are ordered. For this one, insert the following text in the Custom conditions field on the Advanced settings tab:

    allviisoncoupon
Did this answer your question?