Dynamic Coupon Support via Shopify
Create custom coupons and track their usage on Shopify store.
Overview
Create and manage custom coupon codes on the Netcore CE dashboard and track their usage on your Shopify store.
Points to Remember
- The integration is only supported via Shopify.
- Coupons are only available for trigger-based journeys.
- Coupons cannot be used with lists, segments, or campaigns.
- Each template (Email and SMS) supports only one coupon.
- Validation restrictions apply to campaigns but not to trigger journeys that start with a Segment or List.
Refer to the given links to create coupons for email and SMS.
Create Coupon for Email
- Log in to the Netcore CE dashboard and navigate to Content > Email.
- Click CREATE TEMPLATE.
- Provide Template name and select category from Select/Add category dropdown. Refer to this document for more information on email templates.
- Select Advance drag & drop editor and click Save & Next. The Advance drag & drop editor opens. Referhere for detailed information on email templates.
Refer to this document to learn about the options in the Content section.
Drag & drop the Coupon block on the canvas to create your custom coupon. Click to create and customize your coupon. There are two types of sources available to create coupons:
1. Generate a Shopify coupon code
This option allows you to generate a coupon code directly from Shopify. The coupon is synced between Netcore and Shopify, enabling you to track its usage and redemption on your Shopify store. Refer here to view coupon on Shopify.
Refer to the given table to create and customize your coupon.
Fields | Categories | Description |
---|---|---|
Coupon Text | ||
Select font | Select the font style for the coupon text. | |
Text size | Adjust the size of the coupon text. | |
Text format | Select formatting styles for the coupon text, such as bold, italic, and so on. | |
Text color | Select a color for the coupon text using a Hex code. | |
Coupon Style | ||
Background color | Set a background color for the coupon. | |
Corner Radius | Adjust the corner radius to round the edges of the coupon. | |
Border Style | Select the type of border, such as solid, dashed, or dotted. | |
Border Color | Select a border color using a HEX code. | |
Border Thickness | Adjust the thickness of the coupon border. |
Price Rules
Select your preferred price rule from the dropdown and click SAVE. The coupon code will be displayed on the canvas on the left.
Note
For additional price rules, contact our customer support team or customer success manager (CSM) for assistance. Additional price rules can only be supported if they are based on separate values for Discount Value and Expiry Period, while keeping all other parameters constant.
Refer to the table to learn the price rules for each discount coupon you wish to use on your journeys.
Variable Value | Price Rule | Description | Shopify Title |
---|---|---|---|
1 | 10% Discount with validity of 1 day | Discount Type: Cart Discount Discount Value: 10% Applicable to: All Orders Expires in: 1 day | Netcore_10%off_1day_expiry |
2 | 10% Discount with validity of 14 days | Discount Type: Cart Discount Discount Value: 10% Applicable to: All Orders Expires in: 14 days | Netcore_10%Off_14day_expiry |
3 | 10% Discount with validity of 30 days | Discount Type: Cart Discount Discount Value: 10% Applicable to: All Orders Expires in: 30 days | Netcore_10%Off_30day_expiry |
4 | 15% Discount with validity of 1 day | Discount Type: Cart Discount Discount Value: 15% Applicable to: All Orders Expires in: 1 day | Netcore_15%Off_1day_expiry |
5 | 15% Discount with validity of 3 days | Discount Type: Cart Discount Discount Value: 15% Applicable to: All Orders Expires in: 3 days | Netcore_15%Off_3day_expiry |
6 | 15% Discount with validity of 14 days | Discount Type: Cart Discount Discount Value: 15% Applicable to: All Orders Expires in: 14 days | Netcore_15%Off_14day_expiry |
7 | 15% Discount with no expiry | Discount Type: Cart Discount Discount Value: 15% Applicable to: All Orders Expires in: NA | Netcore_15%Off_no_expiry |
Add Expiry Code
- Drag & drop a Text block on the canvas to include an expiry date for the provided coupon code. Use the following code:
{{ CONTENT_FETCH.SHOPIFY_COUPONS.2.data.discountCodeBasicCreate.codeDiscountNode.codeDiscount.endsAt | date_format }}
- Expiry Period: When set to one day, the coupon expires exactly 24 hours after it is created and activated on the Shopify platform. The start date and time are based on the trigger event.
For example, if the coupon is created at "2006-01-02T15:04:05Z", it will remain valid until "2006-01-03T15:04:05Z".
Point to Remember
- Expiry codes can be added to Email and SMS templates.
- Ensure the expiry date variable number matches the variable used in the coupon code.
For example, if the variable in this coupon (
{{ CONTENT_FETCH.SHOPIFY_COUPONS.2.data.discountCodeBasicCreate.codeDiscountNode.codeDiscount.codes.nodes.first.code }}
) is 2, the same should be used in the expiry code. Any other value results in an error.
Once done, click SAVE TEMPLATE or SAVE AND EXIT to apply the changes.
2. Uploaded coupons in Netcore
Marketers can utilize two types of coupon codes provided by CE Netcore:
Refer to the given document to use a coupon provided by Netcore CE.
Create Coupon for SMS
- Navigate to Content > SMS on your Netcore CE dashboard.
- Click CREATE TEMPLATE.
- Provide the Template name, DLT Template ID and select Category from the dropdown. Refer to this document to learn about SMS template management.
Signature: Add Coupon in SMS
Price rules for coupons are predefined in the backend and linked to variables like 1, 2, 3, and so on. Ensure the variable used in the signature matches the correct price rule to generate the right coupon code.
Example:
{{ CONTENT_FETCH.SHOPIFY_COUPONS.1.data.discountCodeBasicCreate.codeDiscountNode.codeDiscount.codes.nodes.first.code }}
Here, 1 refers to a specific price rule. Ensure it matches the intended rule to display the correct coupon code.
- Match the variable (for example: 1) in the signature with the correct backend price rule. Mismatches show errors and you will not be able to create the coupon. Refer to the given table to know the price rules.
Add Expiry Code
- Coupon expiry signature on the Netcore CE dashboard during template creation:
{{ CONTENT_FETCH.SHOPIFY_COUPONS.2.data.discountCodeBasicCreate.codeDiscountNode.codeDiscount.endsAt | date_format }}
- Expiry Period: When set to one day, the coupon expires exactly 24 hours after it is created and activated on the Shopify platform. The start date and time are based on the trigger event.
For example, if the coupon is created at "2006-01-02T15:04:05Z", it will remain valid until "2006-01-03T15:04:05Z".Point to Remember
- Expiry codes can be added to Email and SMS templates.
- Ensure the expiry date variable number matches the variable used in the coupon code.
For example, if the variable in this coupon (
{{ CONTENT_FETCH.SHOPIFY_COUPONS.2.data.discountCodeBasicCreate.codeDiscountNode.codeDiscount.codes.nodes.first.code }}
) is 2, the same should be used in the expiry code. Any other value results in an error.Once done, click SAVE TEMPLATE or SAVE AND EXIT to apply the changes.
Formatting in SMS
SMS messages have a character limit of 160. If your message exceeds this limit, the content beyond 160 characters will be sent as a separate SMS. Coupon signature fetched from the backend is visible during template creation, however only the 8-character COUPON will be sent to the user.
For example:
- Coupon signature on the Netcore CE dashboard during template creation:
{{ CONTENT_FETCH.SHOPIFY_COUPONS.5.data.discountCodeBasicCreate.codeDiscountNode.codeDiscount.endsAt | date_format }}
- Coupon code the end user receives as an SMS: 16RFDNZR
View Coupon on Shopify
- Log in to your Shopify account.
- Navigate to the Discounts section. The coupon codes you have created are displayed on the screen.
FAQs
Q. Can I use coupons in broadcast campaigns?
A. No, coupons are currently only supported in Journeys, not broadcast campaigns. The template will not be supported if you attempt to use a coupon in a broadcast campaign.
Q. What is the naming convention for coupon codes?
A. Coupon codes will be 8 characters long, alphanumeric, in all caps, and will not contain special characters.
Q. Does Netcore automatically delete expired coupons from Shopify?
A. No, Netcore does not manage the deletion of expired coupons. You can manage this through your Shopify account.
Q. Are there any reporting and analytics tools available for coupon management?
A. You can explore and verify reporting and analytics directly within your Shopify admin panel, where you can find insights into coupon's performance, usage patterns, and overall effectiveness.
Q. What will be the expiry dates of the coupon codes created?
A. When set to one day, the coupon expires exactly 24 hours after it is created and activated on the Shopify platform. The start date and time are based on the trigger event. When set to multiple days, the coupon expiry will change as per the configuration.
For example, a coupon that starts at 0m will be effective immediately, and an expiry date of 1d means it will expire 24 hours later from the creation time.
Q. Can multiple coupons be issued at the same time?
A. We allow only one coupon per SMS and Email template.
Q. What happens if a coupon is redeemed successfully in Shopify?
A. When a coupon is redeemed, the product purchase event from Shopify confirms that the coupon was redeemed.
Updated 2 days ago