Page Comparison - Additional Settings for Trigger Emails (v.33 vs v.34) - EN documentation - REES46 Manual
Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 This topic explains how to set up REES46 Triggered Emails feature.

Anchor
Top
Top

Panel
titleThis page covers the following

Table of Contents

 


Trigger Scenario "Back In Stock"

"Back in Stock" is an automated email sent to the customers, who subscribed to the product availability updates. Time: when the product is back in stock.

 


Launch requirementsMandatory?
Email Subscription Form
Yes
Subscription Button
Yes

 


For the user to be able to subscribe to product availability status updates, you must either edit Product Detail Page template via the built-in HTML/CSS editor or add a new section. Template name:

No Format
product.liquid (product-template.liquid)

Embed this code at the part of the template where you want to see the Subscription Button (Button will be visible on out-of-stock products pages too) or add a new section (if your theme allows it):

Code Block
languagejs
titleproduct.liquid
<!-- REES46: subscribe to product availability start -->
{% if product %}{% unless product.available %}
<style>
#r46_subscribe_available {
    display: inline-block;
    font-family: Helvetica;
    border-radius: 2px;
    background-color: #43b656;
    border: #43b656;
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    margin-bottom: 10px;
}
</style>
<button id="r46_subscribe_available" data-id="{{ product.id }}">Back in stock notice</button>
{% endunless %}{% endif %}
<!-- REES46: subscribe to product availability end -->

Trigger Scenario "Price Drop"

 "Price Drop" is an automated email sent to the customers, who subscribed to the price drop updates. Time: when the product has lowered in price.

 


Launch requirementsMandatory?
Email Subscription Form
Yes
Subscription Button
Yes

 


For the user to be able to subscribe to price drop updates, you must either edit Product Detail Page template via the built-in HTML/CSS editor or add a new section. Template name:

No Format
 product.liquid (product-template.liquid)

Embed this code at the part of the template where you want to see the Subscription Button (button will be visible on all product pages) or add a new section (if your theme allows it):

Code Block
languagejs
titleproduct.liquid
<!-- REES46: subscribe to product price drop start -->
{% if product %}{% if product.available %}
<style>
#r46_subscribe_price_drop {
 display: inline-block;
 font-family: Helvetica;
 border-radius: 2px;
 background-color: #43b656;
 border: #43b656;
 color: #fff;
 padding: 5px 10px;
 font-size: 16px;
 margin-bottom: 10px;
}
</style>
<button id="r46_subscribe_price_drop" data-id="{{ product.id }}" data-price="{{ product.price | money_without_currency }}">Price drop notice</button>
{% endif %}{% endif %}
<!-- REES46: subscribe to product price drop end -->

Return to the top of the page | Proceed to the next page


Panel
titleTable of Contents

Page Tree
rootShopify Application