This post is also available in:
Using placeholders for Static Products, you can add static products to your template without having to constantly edit or change the template.
You can use these placeholders for Static Products in Segmented as well as Personalized templates. If you add a static product placeholder to your template, you can then assign selected products from your database to these placeholders when creating a campaign.
A maximum of 10 placeholders can be used within a single template. You can use a number of attributes within a single product, namely:
- {{static_product*_title}} – product name
- {{static_product*_url}} – product URL
- {{static_product*_description}} – product description
- {{static_product*_image}} – URL link to product image
- {{static_product*_price}} – product price
- {{static_product*_price_before}} – price before discount
- {{static_product*_brand}} – product brand
- {{static_product*_pack}} – quantity of pieces in the package
- {{static_product*_product_line}} – product line
The same procedure applies for working with a dynamically inserted image as for personalized products.