Personalization and Smarty – Cordial Knowledge Base How can we help? Cordial utilities Get started with Smarty syntax Cordial utilities overview Cordial utilities reference page Get supplements (getSupplementRecords method) Get products (getProducts method) Get order data (getOrder method) Functions and modifiers Supported Smarty functions and modifiers Variables Smarty variables System variables Account variables Contact variables Assigning variables External variables (API sending) Link functions Link functions overview Optout link Add tags to links Name tracked links Link append defaults (via UI) Link appends via Smarty Conditionals and loops Personalization and dynamic content intro Conditionals and loops overview Dynamic content with {if} statements Dynamic content with {foreach} statements Randomize content Calculate distance between postal codes Reusable HTML content (includes) Reusable HTML content overview Advanced reusable HTML content usage Advanced reusable HTML content usage subject Coupon codes Coupon codes and the "reserveOne" method