Shortcodes for Content Template
The Recent Sales Popup module allows you to customize your notification message using various shortcodes. These shortcodes will be dynamically replaced with the actual order information, creating a personalized message for your customers. Below is a list of available shortcodes and their descriptions.
Available Shortcodes:
Shortcode | Description |
---|---|
{product_name} | Displays the product name |
{customer_firstname} | Displays the customer’s first name |
{customer_lastname} | Displays the customer’s last name |
{zone} | Displays the customer’s state/zone |
{city} | Displays the customer’s city |
{country} | Displays the customer’s country |
Examples of How to Use Shortcodes:
- Example 1:
Someone from {city}, {country} recently purchased {product_name}
Output:
Someone from Mumbai, India recently purchased iPhone 14
- Example 2:
{customer_firstname} from {zone}, {country} bought {product_name}
Output:
John from California, USA bought MacBook Pro
- Example 3:
{customer_firstname} {customer_lastname} just ordered {product_name} from {city}, {zone}
Output:
Jane Doe just ordered Samsung Galaxy S23 from Berlin, Berlin
- Example 4:
A new order for {product_name} has been placed by {customer_firstname} from {country}!
Output:
A new order for Nike Air Max has been placed by Alex from UK!
- Example 5:
{customer_firstname} in {city}, {country} recently bought {product_name}. Shop now!
Output:
David in Sydney, Australia recently bought PlayStation 5. Shop now!
Tips for Using Shortcodes:
- Combine different shortcodes to create engaging and personalized messages.
- Use shortcodes that are most relevant to your audience to build trust and excitement.
- Ensure you are only using the allowed shortcodes in your content template to prevent errors.