{"id":1164,"date":"2022-08-13T12:36:10","date_gmt":"2022-08-13T12:36:10","guid":{"rendered":"https:\/\/biobiogo.com\/resources\/?p=1164"},"modified":"2022-08-15T03:08:03","modified_gmt":"2022-08-15T03:08:03","slug":"insert-discount-code-into-your-shopify-product-url","status":"publish","type":"post","link":"https:\/\/biobiogo.com\/resources\/insert-discount-code-into-your-shopify-product-url\/","title":{"rendered":"Insert discount code into your Shopify product URL"},"content":{"rendered":"\n<p>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. <\/p>\n\n\n\n<p><strong>Step 1: Create your discount code on your Shopify admin panel<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click <strong>Discount<\/strong> on the left side menu<\/li><li>Click <strong>Create Discount<\/strong> at the top right corner<\/li><li>Follow the instruction to create the discount code<\/li><\/ol>\n\n\n\n<p><strong>Step 2: Form the discounted product URL<\/strong><\/p>\n\n\n\n<p>What does work is to use the discount permalink, with a redirect. For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:\/\/<strong><em>your-shop-domain<\/em><\/strong>\/discount\/<em><strong>your-discount-code<\/strong><\/em>?redirect=\/products\/<strong><em>the-product-handle<\/em><\/strong><\/code><\/pre>\n\n\n\n<p><strong>The product handle<\/strong> is the last part of your frontend product URL, check the following graphic.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"561\" src=\"https:\/\/biobiogo.com\/resources\/wp-content\/uploads\/2022\/08\/where-to-find-your-product-handle-biobiogo-shopify.png\" alt=\"\" class=\"wp-image-1170\" srcset=\"https:\/\/biobiogo.com\/resources\/wp-content\/uploads\/2022\/08\/where-to-find-your-product-handle-biobiogo-shopify.png 757w, https:\/\/biobiogo.com\/resources\/wp-content\/uploads\/2022\/08\/where-to-find-your-product-handle-biobiogo-shopify-300x222.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>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 Click Discount on the left side menu Click Create Discount at the top right [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,9],"tags":[],"class_list":["post-1164","post","type-post","status-publish","format-standard","hentry","category-free-course","category-how-to"],"_links":{"self":[{"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/posts\/1164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/comments?post=1164"}],"version-history":[{"count":10,"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/posts\/1164\/revisions"}],"predecessor-version":[{"id":1205,"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/posts\/1164\/revisions\/1205"}],"wp:attachment":[{"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/media?parent=1164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/categories?post=1164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/biobiogo.com\/resources\/wp-json\/wp\/v2\/tags?post=1164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}