Subscription links guide

Add a discount code to a Shopify subscription checkout link

What you’ll need

  • Your store’s address

  • A product with a subscription plan (from Shopify Subscriptions or your subscription app)

Build a link with a code

How it fits together

Shopify’s shareable discount links (/discount/CODE?redirect=PATH) apply a code and then go to any page on your store. In a subscription link that page is the checkout, after /cart/add has added the items with their plans.

Rules for the code

  • Codes with a comma can’t be used in a link.
  • Codes with spaces or symbols are encoded twice so they survive both hops; test those once.
  • The discount must apply to subscriptions: in Shopify’s discount settings, check “Subscription” or “Both” under purchase type.

Test it

  1. Open the link in a private window.
  2. Check the checkout shows the plan, the discount and the right total.

More guides