> For the complete documentation index, see [llms.txt](https://foxecom.gitbook.io/zest-theme/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://foxecom.gitbook.io/zest-theme/faqs/generic/share-a-discount-code-through-newsletter-signups.md).

# Share a Discount code through Newsletter signups

You can share a discount code with customers who subscribe to your store’s newsletter in a few simple ways. Select the option that best aligns with your brand’s communication and customer experience.

{% hint style="warning" %}
**Before proceeding with the methods below**, make sure you have created discount codes for your products or orders in **Shopify Discounts**.

Learn how to [create discount codes here in Shopify manual](https://help.shopify.com/manual/discounts/discount-methods/discount-codes).&#x20;
{% endhint %}

## Method 1: Show the discount in the “Success / Thank You” message

{% hint style="success" %}
**Steps:**

1. Go to **Shopify Admin > Online Store > Themes**.
2. Find your current theme, click **Actions > Edit default theme content**.
   {% endhint %}

<figure><img src="/files/DtGiIUgCl9TDtd6ddkki" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
3\. Search for the text field related to the newsletter form — look for ***"Thanks for subscribing"*** message.
{% endhint %}

<figure><img src="/files/aQXI2CYSXzloHFxheqax" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
4\. Edit this message to include your discount code (e.g. *“Thanks for subscribing! Use code **WELCOME10** for 10% off your first order.”*).
5\. Save your changes.
{% endhint %}

**✔** Once a visitor subscribes, they’ll instantly see a thank-you message containing your discount code — quick and seamless.

## Method 2: Include the discount in the Marketing confirmation email

This option delivers the code via email when the customer confirms their subscription.

{% hint style="success" %}
**Steps:**

1. Go to **Shopify Admin > Settings > Notifications**.
2. Select **Customer notifications** and scroll down to the **Customer marketing confirmation** section.
   {% endhint %}

<figure><img src="/files/Abx99b22LnnHw91ShBCp" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/U2iUedpNOqy68wBFtB32" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
3\. Click **Edit code**, find the `{% capture email_body %} ... {% endcapture %}` block, and insert the discount code into the email body.
4\. Save the changes.
{% endhint %}

<figure><img src="/files/00P7Kh9jH1g5QqfMp6ou" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sPKsqJenpAhq8qetmPEW" alt=""><figcaption></figcaption></figure>

**✔** When someone subscribes to your newsletter, they’ll receive an email confirmation that includes your discount code — ideal if you prefer to send the code directly to their inbox.

## Method 3: Send the discount automatically with a third-party email app

If you use or plan to use an email marketing platform for automation and segmentation, this is the most flexible option.

You can use tools like **Klaviyo**, **Omnisend**, or **Mailchimp** to create automated email flows.

{% hint style="success" %}
**Steps:**

1. Install and connect your preferred email app to Shopify.
2. Create an **automation flow** triggered by “New newsletter signup.”
3. Design your welcome email and include the discount code (e.g. *“Thanks for subscribing! Use code **WELCOME10** for 10% off your first order.”*).
4. Set your preferred send timing and activate the flow.
   {% endhint %}

✔ Every new subscriber automatically receives a personalized welcome email with your discount code. This option gives you more control over branding, tracking, and follow-up marketing.

{% hint style="info" %}
**Best practices:**&#x20;

* Back up your theme before editing content or email templates.
* Use time-limited or single-use codes to prevent sharing.
* Keep all messages on-brand and consistent in tone.
* Test each flow (subscription → message/email → code use) before publishing.
  {% endhint %}
