Skip to main content
All CollectionsSettings & CustomizationNotifications
Subify Notification Variables Reference
Subify Notification Variables Reference

Variables you can use to customize Subify email notifications template

Updated over a week ago

In Subify, you can enable different email notifications sent to you and your customers about their subscriptions/memberships on your store.

You can make customizations to your notification templates using HTML coding and variables from the Subify app > Settings > Notification.

You can edit each email template by clicking on the 3 dots next to the email and selecting "Edit code":


Notification Variables

Variables can be used to include dynamic data about the subscription and the customer in the emails, for example, customer email, subscription contract ID, product name, etc. You can use the following tables as the reference in your HTML codes when editing the emails' templates:

Not all variables are available to use in different notification templates; please ensure to check the descriptions.

Variable

Description

contract.id

contract.frequency

Example: “Every 2 months”, “Every 1 week”, “Every 2 days, Prepay 6 days”

contract.page_link

The URL to the subscription contract detail page.


Example: hengamproducts.myshopify.com/admin/apps/subify/subscriptions/123

contract.subtotal_price_with_currency *

* Not available for Payment Failure emails.

The total subscription contract price without the coupon discount.


Example: $330 USD

contract.subtotal_price_amount *

* Not available for Payment Failure emails.

The total subscription contract price without the coupon discount.


Example: 330

contract.created_at

Example: Aug 4, 2023

contract.coupon_discount_with_currency *

* Not available for Payment Failure emails.

Coupon discount amount.


Example: $20 USD

contract.coupon_discount_amount *

* Not available for Payment Failure emails.

Coupon discount amount.


Example: 20

contract.total_price_amount

Example: $300 USD

contract.total_price_with_currency

Example: 300

contract.lines

Example:

{% for line in contract.lines %}

{{ line.product_title }} ({{ line.discount }}) : {{ line.price_with_currency }}

{% endfor %}

contract.line.product_title

The name of the product.

contract.line.variant_title

Example: Medium

contract.line.quantity

contract.line.price_amount

The price of the subscription contract line.


Example: 300

contract.line.price_with_currency

The price of the subscription contract line.


Example: $300 USD

contract.line.discount

The discount amount. It can be a fixed amount discount or a percentage discount.


Example: %20, $100 USD, $5 USD, %5

shop.name

shop.logo

shop.email

shop.merchant_name

shop.domain

Example: hengam-shop.com

shop.shopify_domain

Example: hengam.myshopify.com

subify_email

portal_link

portal-subify.shopgram.app

customer.name

Example: William Shahbaz

customer.email

billing.payment_failure_reason *

* Not available for Subscription Activation emails and cancellation emails.

Example: Your card was declined.

billing_settings.dunning_enabled *

* Not available for Subscription Activation emails and cancelation emails.

Example: True/False

Did this answer your question?