Documentation

Placeholders usage guide

Placeholders usage guide#

Placeholders are one of the major tools used when creating automations with ShopMagic. They are basically "merge tags" similar to "shortcodes" and can be used to insert dynamic content into fields such as the content or subject of an email.

A few examples of placeholders that you can use in ShopMagic:

  • {{ customer.first_name }} - will be replaced with the customer's first name from his WordPress account, i.e. John.
  • {{ order.total }} - will be replaced with the order total in the store's currency, i.e. $275.
  • {{ order.date_paid }} - will be replaced with the date when the order was paid, i.e. 2020-02-02. The date format will be according to your WordPress general settings.
  • {{ order.products_ordered }} or {{ order.products_ordered_review_links }} - will be replaced with a list of ordered products with links to the reviews tab. The first placeholder is available in the core version of ShopMagic. The second is available with ShopMagic PRO and its add-on: Review Requests.

How to use placeholders?#

Just copy a selected placeholder from the metabox and paste it into a field:

Placeholders In Shopmagic

Not the solution you are looking for?

Please check other articles or open a support ticket.

Cookies preferences

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Necessary

Necessary
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.