How to apply single or multiple coupons on click of a link

Smart Coupons provide a powerful, “all-in-one” solution for gift certificates, store credits, discount coupons, and vouchers extending the core functionality of WooCommerce coupons.

This doc article explains how you can generate/find a link which on click will apply coupon/s.

This is a very useful feature. You can use this feature to encourage anyone to come to your website & spend some money. They don’t have to type & apply the coupons manually, instead, they just have to click on the provided link.

Apply a single coupon via a link (Coupon URL) ↑ Back to top

  1. Create a new coupon or open an existing one
  2. If you’re creating a new coupon, set the discount type, coupon amount & other settings. Publish it.
  3. You’ll find a section “Coupon shareable link”
  4. And in this section, you’ll find a button “Click to copy”.
  5. Click on the button to copy the link & share it via any method: email, twitter, put it on a website, etc.

Sample link ↑ Back to top

http://example.com/?coupon-code=coupon1&sc-page=shop

Apply multiple coupons via a link ↑ Back to top

As shown in the above image, you can pass a comma-separated list of coupons in the link. The plugin will apply only the first 5 valid coupons. This is done to reduce the load on the website as applying multiple coupons might take time.

Sample link ↑ Back to top

http://example.com/?coupon-code=coupon1,coupon2,coupon3&sc-page=shop

Redirect to a page after coupon is applied ↑ Back to top

Smart Coupons provides a URL param sc-page for redirecting to a page after coupon gets applied via URL. By default, the page will be the shop page. Following is the list of possible values that you can use as sc-page.

WooCommerce predefined pages ↑ Back to top

If you want to use pages that are defined by the WooCommerce you can use either shop, cart, checkout or my-account

If the target page is the shop page then the link will be like

http://example.com/?coupon-code=coupon1&sc-page=shop

Page ID ↑ Back to top

You can also use the numeric page id of the target page.

If the page id of the target page is 123 then the link will be like

http://example.com/?coupon-code=coupon1&sc-page=123

Page path ↑ Back to top

You can also use the path of the target page with respect to the website.

If the target page is http://example.com/landing-page/ then the link will be like

http://example.com/?coupon-code=coupon1&sc-page=landing-page

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top