Apply a Shopify discount code to the cart

Lisa Fockens Updated by Lisa Fockens

Learn how to add a link to a Call To Action that applies a coupon code to a Shopify cart. This allows your customers to use your Discount Code without having to type it in manually. This, in turn, greatly increases conversion rates and total orders generated by your campaign.

Create a Discount Code

First, in Shopify, create a percentage discount code or a monetary discount code (depending on the type of discount you want to offer).

Shopify Help Center: Discounts

  1. Consider where you'll want to send the coupon. This could be within a popup, an embed, or a bar.  Create a new campaign or click on an existing campaign and go to the editor.
  2. Add a Discount code block to your campaign, if you haven't already. 
  1. Click on the Button tab in the left menu and activate it using the toggle. Then, select "Apply discount".
  2. Click Save

You can automatically apply the discount to your customer's cart AND redirect them to another page (checkout page, homepage, product, etc.).

  1. Go back to the Button settings
  2. From the "After click" section, select "Go to URL"
  3. Insert the page's URL in the URL adress box

  1. Click save. When the CTA is clicked, the code will be applied automatically to the cart and redirect the visitor to the destination page.

How to create unique Shopify discount codes in your popups and notifications

How to use discount codes in Wisepops