Skip to main content
Jinja Templating Language Examples

Learn more about specific Jinja examples to use in email subject lines.

Updated over a week ago

The below Jinja subject line examples are only examples from Bluecore campaign types. Please be sure to modify the below Jinja syntax before adding them to an email campaign.

  • NOTE: Each example of Jinja requires a specific set of data that must be available within Bluecore. You can see available data in your account through the Customer 360 and Product Catalog pages. Please be sure the appropriate data is being passed to Bluecore for the Jinja examples to properly display in emails.

ABANDONED CART

  • Re : {{BLOCKNAME.products.0.name}} {{BLOCKNAME.products.0.brand}}

  • Your {{BLOCKNAME.products.0.name|title }} Is Waiting For You

  • {% if customer.first_name %}{{customer.first_name}}, {% endif %}You Left Items in Your Cart

ABANDONED PRODUCT

  • Your {{BLOCKNAME.products.0.name}} is waiting!

  • We like {{BLOCKNAME.products.0.category|replace(':','') }}, too!

  • You know what would go great with {{BLOCKNAME.products.0.category|replace(':','') }}?

ABANDONED SEARCH

  • {% if customer.first_name %}{{customer.first_name}}{% else %}Hey{% endif %}, you searched, we found 👍

  • Did you forget your {{ BLOCKNAME.products.0.name }}?

  • Don't Forget About {{BLOCKNAME.products.0.brand}}

NEW ARRIVALS

  • Have You Seen What’s New From {{BLOCKNAME.products|mode('brand') }}?

WINDOW SHOPPING

  • Your {{BLOCKNAME.products.0.name}} is waiting!

  • Our Best Selling {{BLOCKNAME.products.0.category}}

PRICE DECREASE

  • Good news! Our {{BLOCKNAME.products.0.name}} has a new, lower price.

  • Price drop on {{BLOCKNAME.products.0.name}}

  • Price Drop Alert: The {{BLOCKNAME.products.0.name}} has a new, lower price.

LOW INVENTORY

  • Better Hurry! The ${{BLOCKNAME.products.0.price}} {{block_0.products.0.name}} Is Going FAST

  • {% if customer.first_name %}{{customer.FIRST_NAME|title}}, c{% else %}C{% endif %}atch your faves!

  • {{BLOCKNAME.products.0.name}} is Almost Out of Stock

BEST SELLERS

  • {{BLOCKNAME.products.0.name|title}} & Best Sellers Picked for You!


SETTING A FALLBACK

Including fallback language ensures that each customer will still receive something in the place of the dynamic attribute. If Bluecore is unable to pull in the specific customer attribute, the email will still go out with the fallback in place.

Example fallback: {% if customer.first_name %}Dear {{customer.FIRST_NAME|title}}, {% else %}Dear Customer,{% endif %} catch your faves!

TESTING

Be sure to test the email before sending. Review the code, test, and preview the email before hitting Save & Launch! Click here for more information on testing dynamic attributes before sending an email.

Did this answer your question?