Insert discount code into your Shopify product URL

Do you know you can insert a discount code to your product URL so the discount applies automatically? Insert a discount code to your product URL is an easy job.

Step 1: Create your discount code on your Shopify admin panel

  1. Click Discount on the left side menu
  2. Click Create Discount at the top right corner
  3. Follow the instruction to create the discount code

Step 2: Form the discounted product URL

What does work is to use the discount permalink, with a redirect. For example:


The product handle is the last part of your frontend product URL, check the following graphic.