{"id":27636,"date":"2024-12-20T11:05:03","date_gmt":"2024-12-20T11:05:03","guid":{"rendered":"https:\/\/doc.probance.com\/?post_type=tutoriels&#038;p=27636"},"modified":"2025-11-11T06:36:16","modified_gmt":"2025-11-11T06:36:16","slug":"generate-targeted-promo-codes-in-shopify","status":"publish","type":"tutoriels","link":"https:\/\/doc.probance.com\/en\/knowledge-base\/generate-targeted-promo-codes-in-shopify\/","title":{"rendered":"Generate targeted promo codes in Shopify"},"content":{"rendered":"\n<p><em>Our Shopify module allows you to automatically generate discount codes for use in your campaigns, targeted for recipients who are registered in your Shopify database.<\/em><\/p>\n\n\n\n<p><em>This tutorial will explain how to create a master discount in Shopify, and how to use it in a campaign to generate targeted promo codes.<\/em><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-note-probance is-layout-flow wp-block-quote-is-layout-flow\">\n<p>To use this feature, Probance module for Shopify must be installed on your website.<\/p>\n<\/blockquote>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">1. Creating a master discount<\/h2>\n\n\n\n<p>A <strong>master discount<\/strong>&nbsp;is a discount code created with specific configurations to be identified by the connector and used to generate promo codes dynamically when sending campaigns through Probance One.<\/p>\n\n\n\n<p>When a master code is used in a&nbsp; campaign, the corresponding discount code in Shopify is duplicated to create one or more codes restricted to the campaign&#8217;s recipients (one promo code is generated for every 100 recipients).<\/p>\n\n\n\n<p>The master code must be set up with all the desired characteristics and conditions of the discount, such as the type and value of the discount, validity period, or shipping fee handling. It must also comply with specific rules for integration into Probance One.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-important is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Your master discount will be available in Probance One, and be usable in campaigns the day after its creation in Shopify.<\/p>\n<\/blockquote>\n\n\n\n<p>Go to the <strong>Discounts<\/strong> menu in Shopify and click on <strong>Create a discount<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1782\" height=\"802\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_1_FR.png\" alt=\"\" class=\"wp-image-23775\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_1_FR.png 1782w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_1_FR-300x135.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_1_FR-1024x461.png 1024w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_1_FR-768x346.png 768w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_1_FR-1536x691.png 1536w\" sizes=\"auto, (max-width: 1782px) 100vw, 1782px\" \/><\/figure>\n\n\n\n<p>4 typed of discount are available:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Amount off products <\/strong>: a discount is applied on specific products or product families.<\/li>\n\n\n\n<li><strong>Buy X get Y<\/strong>&nbsp;: a product is offered at a discounted price or for free when purchasing specific products.<\/li>\n\n\n\n<li><strong>Amount off order <\/strong>: a discount is applied on the total amount of the order.<\/li>\n\n\n\n<li><strong>Free shipping<\/strong> : shipping costs are waived.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1.1. Amount off products<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select the option <strong>Amount off products<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1782\" height=\"802\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_2_FR.png\" alt=\"\" class=\"wp-image-23772\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_2_FR.png 1782w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_2_FR-300x135.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_2_FR-1024x461.png 1024w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_2_FR-768x346.png 768w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_2_FR-1536x691.png 1536w\" sizes=\"auto, (max-width: 1782px) 100vw, 1782px\" \/><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>In the <strong>Amount off products<\/strong> section, select the <strong>Discount code <\/strong>method. In the <strong>Discount code <\/strong>field, enter a value that will allow you to easily identify the master. This code will be used to configure the master in Probance One.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"291\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_3_FR.png\" alt=\"\" class=\"wp-image-23778\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_3_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_3_FR-300x109.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_3_FR-768x280.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>In the <strong>Discount value<\/strong> section, select the type of discount to apply (percentage or fixed amount) and set its value. Then, select the eligible products or collections.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"372\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_4_FR-1.png\" alt=\"\" class=\"wp-image-23874\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_4_FR-1.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_4_FR-1-300x140.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_4_FR-1-768x358.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>The <strong>Minimum purchase requirements<\/strong> section allows you to define a minimum amount or number of items required for the discount to apply.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_5_FR.png\" alt=\"\" class=\"wp-image-23785\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_5_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_5_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_5_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>In <strong>Customer eligibility<\/strong>, select the <strong>All customers<\/strong> option.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_6_FR.png\" alt=\"\" class=\"wp-image-23788\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_6_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_6_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_6_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>The <strong>Maximum discount uses<\/strong> section allows you to limit the number of times the code can be used. To make the code usable once per recipient, check the <strong>Limit to one use per customer<\/strong> option.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"172\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_7_FR.png\" alt=\"\" class=\"wp-image-23791\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_7_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_7_FR-300x65.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_7_FR-768x166.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>The <strong>Combinations<\/strong> section allows you to define with which other discounts the code can be combined.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"245\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_8_FR.png\" alt=\"\" class=\"wp-image-23871\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_8_FR.png 802w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_8_FR-300x92.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_8_FR-768x235.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<ol start=\"8\" class=\"wp-block-list\">\n<li>The <strong>Active Dates<\/strong> section allows you to define the validity period of your coupon. If your code must be valid for a limited time, check the <strong>Set end date<\/strong> option and define the expiration date of the coupon.<\/li>\n\n\n\n<li>Click on <strong>Save<\/strong>\u00a0to confirm.<\/li>\n<\/ol>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1.2. Buy X get Y<\/h3>\n\n\n\n<p><strong>1)<\/strong> Select the option<strong> Buy X get Y.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1782\" height=\"802\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_9_FR.png\" alt=\"\" class=\"wp-image-23794\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_9_FR.png 1782w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_9_FR-300x135.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_9_FR-1024x461.png 1024w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_9_FR-768x346.png 768w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_9_FR-1536x691.png 1536w\" sizes=\"auto, (max-width: 1782px) 100vw, 1782px\" \/><\/figure>\n\n\n\n<p><strong>2)<\/strong> In the<strong> Buy X get Y<\/strong> section, select the <strong>Discount code <\/strong>method. In the <strong>Discount code <\/strong>field, enter a value that will allow you to easily identify the master. This code will be used to configure the master in Probance One.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"291\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_10_FR.png\" alt=\"\" class=\"wp-image-23797\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_10_FR.png 797w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_10_FR-300x110.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_10_FR-768x280.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<p><strong>3) <\/strong>In the <strong>Customer buys<\/strong> section, define the conditions for applying the code: select the eligible product(s) or collection(s) and the minimum quantity or amount to purchase for the discount to apply.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"510\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_11_FR.png\" alt=\"\" class=\"wp-image-23800\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_11_FR.png 796w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_11_FR-300x192.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_11_FR-768x492.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/figure>\n\n\n\n<p><strong>4)<\/strong> Then define the product(s) or collection(s) to be offered in the C<strong>ustomer gets<\/strong> section, and set the discount to apply in the <strong>At a discounted value<\/strong> section.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"757\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_12_FR.png\" alt=\"\" class=\"wp-image-23804\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_12_FR.png 800w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_12_FR-300x284.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_12_FR-768x727.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p><strong>5) <\/strong>In <strong>Customer eligibility<\/strong>, select the <strong>All customers<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_13_FR.png\" alt=\"\" class=\"wp-image-23807\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_13_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_13_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_13_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p><strong>6)<\/strong> The <strong>Maximum discount uses<\/strong> section allows you to limit the number of times the code can be used. To make the code usable once per recipient, check the <strong>Limit to one use per customer<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"172\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_14_FR.png\" alt=\"\" class=\"wp-image-23810\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_14_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_14_FR-300x65.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_14_FR-768x166.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p><strong>7)<\/strong> The <strong>Combinations<\/strong> section allows you to define with which other discounts the code can be combined.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"241\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_15_FR.png\" alt=\"\" class=\"wp-image-23817\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_15_FR.png 797w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_15_FR-300x91.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_15_FR-768x232.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<p><strong>8)<\/strong> The <strong>Active Dates<\/strong> section allows you to define the validity period of your coupon. If your code must be valid for a limited time, check the <strong>Set end date<\/strong> option and define the expiration date of the coupon.<\/p>\n\n\n\n<p><strong>9)<\/strong> Cliquez sur <strong>Enregistrer la r\u00e9duction<\/strong> pour valider.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1.3. Amount off order<\/h3>\n\n\n\n<p><strong>1)<\/strong> Select the option <strong>Amount off order.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1782\" height=\"802\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_17_FR.png\" alt=\"\" class=\"wp-image-23820\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_17_FR.png 1782w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_17_FR-300x135.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_17_FR-1024x461.png 1024w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_17_FR-768x346.png 768w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_17_FR-1536x691.png 1536w\" sizes=\"auto, (max-width: 1782px) 100vw, 1782px\" \/><\/figure>\n\n\n\n<p><strong>2)<\/strong> In the<strong> Amount off order<\/strong>&nbsp;section, select the <strong>Discount code <\/strong>method. In the <strong>Discount code <\/strong>field, enter a value that will allow you to easily identify the master. This code will be used to configure the master in Probance One.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"291\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_18_FR.png\" alt=\"\" class=\"wp-image-23823\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_18_FR.png 797w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_18_FR-300x110.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_18_FR-768x280.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<p><strong>3) <\/strong>In the <strong>Discount Value<\/strong> section, select the type of discount to apply (percentage or fixed amount) and set its value.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"137\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_19_FR-1.png\" alt=\"\" class=\"wp-image-23830\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_19_FR-1.png 797w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_19_FR-1-300x52.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_19_FR-1-768x132.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<p><strong>4)<\/strong> The <strong>Minimum purchase requirements<\/strong> section allows you to define a minimum amount or number of items required for the discount to apply.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_20_FR.png\" alt=\"\" class=\"wp-image-23833\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_20_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_20_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_20_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p><strong>5)<\/strong> In <strong>Customer eligibility<\/strong>, select the <strong>All customers<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_21_FR.png\" alt=\"\" class=\"wp-image-23836\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_21_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_21_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_21_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p><strong>6)<\/strong> The <strong>Maximum discount uses<\/strong> section allows you to limit the number of times the code can be used. To make the code usable once per recipient, check the <strong>Limit to one use per customer<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"172\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_22_FR.png\" alt=\"\" class=\"wp-image-23840\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_22_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_22_FR-300x65.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_22_FR-768x166.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<p><strong>7)<\/strong> The <strong>Combinations<\/strong> section allows you to define with which other discounts the code can be combined.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"245\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_23_FR.png\" alt=\"\" class=\"wp-image-23868\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_23_FR.png 802w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_23_FR-300x92.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_23_FR-768x235.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<p><strong>8)<\/strong> The <strong>Active Dates<\/strong> section allows you to define the validity period of your coupon. If your code must be valid for a limited time, check the <strong>Set end date<\/strong> option and define the expiration date of the coupon.<\/p>\n\n\n\n<p><strong>9)<\/strong> Cliquez sur <strong>Enregistrer la r\u00e9duction<\/strong> pour valider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.4. Free shipping<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select the option <strong>Free shipping.<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1782\" height=\"802\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_24_FR.png\" alt=\"\" class=\"wp-image-23843\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_24_FR.png 1782w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_24_FR-300x135.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_24_FR-1024x461.png 1024w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_24_FR-768x346.png 768w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_24_FR-1536x691.png 1536w\" sizes=\"auto, (max-width: 1782px) 100vw, 1782px\" \/><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>In the <strong>Free shipping <\/strong>section, select the <strong>Discount Code<\/strong> method. In the <strong>Discount Code<\/strong> field, enter a value that will allow you to easily identify the master. This code will be used to configure the master in Probance One.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"291\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_25_FR.png\" alt=\"\" class=\"wp-image-23853\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_25_FR.png 797w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_25_FR-300x110.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_25_FR-768x280.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>In the<strong> Country <\/strong>section, define the countries where the code will apply. This configuration will be carried over to all promo codes generated from this master code.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"381\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_26_FR.png\" alt=\"\" class=\"wp-image-23849\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_26_FR.png 802w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_26_FR-300x143.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_26_FR-768x365.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>The <strong>Minimum purchase requirements<\/strong> section allows you to define a minimum amount or number of items required for the discount to apply.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_27_FR.png\" alt=\"\" class=\"wp-image-23856\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_27_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_27_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_27_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>In <strong>Customer eligibility<\/strong>, select the <strong>All customers<\/strong> option.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"206\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_28_FR.png\" alt=\"\" class=\"wp-image-23859\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_28_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_28_FR-300x77.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_28_FR-768x198.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"6\" class=\"wp-block-list\">\n<li>The <strong>Maximum discount uses<\/strong> section allows you to limit the number of times the code can be used. To make the code usable once per recipient, check the <strong>Limit to one use per customer<\/strong> option.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"798\" height=\"172\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_29_FR.png\" alt=\"\" class=\"wp-image-23862\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_29_FR.png 798w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_29_FR-300x65.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_29_FR-768x166.png 768w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/figure>\n\n\n\n<ol start=\"7\" class=\"wp-block-list\">\n<li>The <strong>Combinations<\/strong> section allows you to define with which other discounts the code can be combined.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"208\" src=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_30_FR.png\" alt=\"\" class=\"wp-image-23865\" style=\"width:600px\" srcset=\"https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_30_FR.png 802w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_30_FR-300x78.png 300w, https:\/\/doc.probance.com\/wp-content\/uploads\/2024\/11\/shopify_coupon_30_FR-768x199.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<ol start=\"8\" class=\"wp-block-list\">\n<li>The <strong>Active Dates<\/strong> section allows you to define the validity period of your coupon. If your code must be valid for a limited time, check the <strong>Set end date<\/strong> option and define the expiration date of the coupon.<\/li>\n\n\n\n<li>Cliquez sur <strong>Enregistrer la r\u00e9duction<\/strong> pour valider.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">2. Configure the master in Probance One<\/h2>\n\n\n\n<p>Once the master discount is available in Probance One, you can configure it as a promo code generation source in a newsletter or an automated campaign.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access the campaign page in Probance One, and click on <strong>Edit<\/strong> in the <strong>Personalized Offer <\/strong>section.<\/li>\n\n\n\n<li>Click on the edition icon of the <strong>BON_MASTER proposed offer<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Choose the master code<\/strong>.<\/li>\n\n\n\n<li>Set the <strong>minimum number of offers to send the campaign<\/strong> at 1.<\/li>\n\n\n\n<li>Click on <strong>Add a constraint<\/strong>. Select <strong>bon_master<\/strong> in the first dropdown list, and <strong>Equal to<\/strong> in the second one. In the third field, fill up the code of your master discount in <strong>Shopify<\/strong>.<\/li>\n\n\n\n<li>Click on<strong> Save<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p>Then, whenever the campaign is sent, a promo code with the same configuration as the master code will be generated for every 100 recipients (that also exist in your Shopify database). The discount will be restricted to those contacts, and the validity date will be actualized.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Including the promo code in the template<\/h2>\n\n\n\n<p>The last thing you need to do for your contacts to receive their own individual promo code is to display it in the campaign template.<\/p>\n\n\n\n<p>To do so, you only need to add the personalization tag&nbsp; <code>${_bon_master_bon_master_1}<\/code> where you want to display the code in the template. When the campaign is sent, the tag will be replaced with the promo code of each recipient.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-style-note is-layout-flow wp-block-quote-is-layout-flow\">\n<p>In the template preview and when sending test emails, the personalization tag is replaced by the code of the master.<\/p>\n<\/blockquote>\n<div id=\"wpmem_restricted_msg\"><p>This content is restricted to site members.  If you are an existing user, please log in.  New users may register below.<\/p><\/div><div id=\"wpmem_login\"><a id=\"login\"><\/a><form action=\"https:\/\/doc.probance.com\/en\/knowledge-base\/generate-targeted-promo-codes-in-shopify\/\" method=\"POST\" id=\"wpmem_login_form\" class=\"form\"><input type=\"hidden\" id=\"_wpmem_login_nonce\" name=\"_wpmem_login_nonce\" value=\"276282ef14\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/tutoriels\/27636\" \/><fieldset><legend>Existing Users Log In<\/legend><label for=\"log\">Username or Email<\/label><div class=\"div_text\"><input name=\"log\" type=\"text\" id=\"log\" value=\"\" class=\"username\" required  \/><\/div><label for=\"pwd\">Password<\/label><div class=\"div_text\"><input name=\"pwd\" type=\"password\" id=\"pwd\" class=\"password\" required  \/><\/div><input name=\"a\" type=\"hidden\" value=\"login\" \/><input name=\"redirect_to\" type=\"hidden\" value=\"https:\/\/doc.probance.com\/en\/knowledge-base\/generate-targeted-promo-codes-in-shopify\/\" \/><div class=\"button_div\"><input name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/>&nbsp;<label for=\"rememberme\">Remember Me<\/label>&nbsp;&nbsp;<input type=\"submit\" name=\"Submit\" value=\"Log In\" class=\"buttons\" \/><\/div><\/fieldset><\/form><\/div><div id=\"wpmem_reg\"><a id=\"register\"><\/a><form name=\"form\" method=\"post\" action=\"https:\/\/doc.probance.com\/en\/knowledge-base\/generate-targeted-promo-codes-in-shopify\/\" id=\"wpmem_register_form\" class=\"form\"><input type=\"hidden\" id=\"_wpmem_register_nonce\" name=\"_wpmem_register_nonce\" value=\"374ed97016\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/tutoriels\/27636\" \/><fieldset><legend>New User Registration<\/legend><label for=\"username\" class=\"text\">Choose a Username<span class=\"req\">*<\/span><\/label><div class=\"div_text\"><input name=\"username\" type=\"text\" id=\"username\" value=\"\" class=\"textbox\" required  \/><\/div><label for=\"first_name\" class=\"text\">First Name<span class=\"req\">*<\/span><\/label><div class=\"div_text\"><input name=\"first_name\" type=\"text\" id=\"first_name\" value=\"\" class=\"textbox\" required  \/><\/div><label for=\"last_name\" class=\"text\">Last Name<span class=\"req\">*<\/span><\/label><div class=\"div_text\"><input name=\"last_name\" type=\"text\" id=\"last_name\" value=\"\" class=\"textbox\" required  \/><\/div><label for=\"user_email\" class=\"text\">Email<span class=\"req\">*<\/span><\/label><div class=\"div_text\"><input name=\"user_email\" type=\"email\" id=\"user_email\" value=\"\" class=\"textbox\" required  \/><\/div><input name=\"a\" type=\"hidden\" value=\"register\" \/><input name=\"wpmem_reg_page\" type=\"hidden\" value=\"https:\/\/doc.probance.com\/en\/knowledge-base\/generate-targeted-promo-codes-in-shopify\/\" \/><div class=\"button_div\"><input name=\"submit\" type=\"submit\" value=\"Register\" class=\"buttons\" \/><\/div><div class=\"req-text\"><span class=\"req\">*<\/span>Required field<\/div><\/fieldset><\/form><\/div>","protected":false},"excerpt":{"rendered":"<p>Our Shopify module allows you to automatically generate discount codes for use in your campaigns, targeted for recipients who are registered in your Shopify database. This tutorial will explain how to create a master discount in Shopify, and how to use it in a campaign to generate targeted promo codes. To use this feature, Probance [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"template":"","sujets":[653],"class_list":["post-27636","tutoriels","type-tutoriels","status-publish","hentry","sujets-coupons"],"_links":{"self":[{"href":"https:\/\/doc.probance.com\/en\/wp-json\/wp\/v2\/tutoriels\/27636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doc.probance.com\/en\/wp-json\/wp\/v2\/tutoriels"}],"about":[{"href":"https:\/\/doc.probance.com\/en\/wp-json\/wp\/v2\/types\/tutoriels"}],"author":[{"embeddable":true,"href":"https:\/\/doc.probance.com\/en\/wp-json\/wp\/v2\/users\/6"}],"wp:attachment":[{"href":"https:\/\/doc.probance.com\/en\/wp-json\/wp\/v2\/media?parent=27636"}],"wp:term":[{"taxonomy":"sujets","embeddable":true,"href":"https:\/\/doc.probance.com\/en\/wp-json\/wp\/v2\/sujets?post=27636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}