To simplify things for editing and creating templates (Either onsite or email templates), we are replacing automatically some tags (based on class or see below)
Here are the replacements we make, even if you overwrite the value inside in HTML.
Element content won’t be replaced (for example used together with .vtw-url) | .vt-ignore |
Element will be removed when processing, but kept in the editor. | .vt-remove |
Within a reccs-editable loop, added only to first element | .vt-loop-display-first |
Within a reccs-editable loop, added only to last element | .vt-loop-display-last |
Within a reccs-editable loop, added only to odd elements | .vt-loop-display-odd |
Within a reccs-editable loop, added only to even elements | .vt-loop-display-even |
Changes the href to privacy page URL | .vtw-policy_page |
Changes the href URL to terms page URL | .vtw-terms_page |
Content gets replaced with a custom designed (coloured background div). Only works in some email templates. | .vtw-voucher-wrap |
Content gets replaced with voucher code. Only works in email templates with vouchers. | .vtw-voucher |
Changes with value set in Preheader value (for email templates) | .vtw-preheader |
Content gets replaced with currency symbol before value | .currency_before |
Content gets replaced with currency symbol after value | .currency_after |
Changes the content to Account Info | .vtw-info |
Changes the content to account email | .vtw-email |
Changes the img src to logo url | .vtw-logo |
Changes the href with account url | .vtw-url |
Changes with list unsubscribe URL (for email only) | .vtunsubscribe |
Changes with default profile link for the recipient (for email only) | .vtprofile |
Changes with view content in browser (for email only) | .vtpreview |
Changes with dynamic subscription confirmation link (for email only) | .vtsubconfirm |
If you find any errors in replacing those values, please contact us. We sometimes improve templates and it’s possible to forget about some of the values.
For content with product recommendations, use the item-<attr_name> class.