# Subscription discount codes

Last updated: May 14, 2025

{% hint style="info" %}
Shopify does not reflect discounts in their "Recurring subtotal" line on the checkout page:

![](/files/qf5rqJzA2vc4Oh5YEuUr)
{% endhint %}

Smartrr uses native Shopify discounts, meaning you can create discount codes as you normally would within your Shopify admin. This also means you won’t find any place to create discount codes within the Smartrr app. You can however set automatic discounts (no code required) on recurring subscriptions orders in [Subscription Programs.](/docs/support/subscription-setup/subscription-programs.md)

To create a discount code in Shopify, navigate to Discounts in Shopify’s left-hand menu and follow their instructions for [creating discount codes.](https://help.shopify.com/en/manual/discounts/create-discount-codes)&#x20;

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

Within Shopify, you can specify if you want the discount code to be applied to one-time purchases, subscription purchases, or both. You can also specify if you would like the code to apply to all subscription products, subscription products in a specific collection, or only to specific subscription products.

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

You are also able to restrict usage of discount codes on subscriptions to be for the first payment only, for X number of payments, or to all recurring subscription payments.

<figure><img src="/files/1yYQbh0HCqhmdVNylv69" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.smartrr.com/docs/support/subscription-setup/subscription-discount-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
