Advanced Template Customization
Host your own template design or edit the raw Twig markup for full control over the checkout experience.
Access Foxy templates on GitHub
Where to find and copy the raw source for Foxy's page and partial templates on GitHub.
Cart variables reference
Reference for the Twig and JavaScript variables available on the cart template, including cart data and cart configuration.
Checkout variables reference
Reference for the Twig and JavaScript variables available on the checkout template, including checkout data and checkout configuration.
Email variables reference
Reference for the Twig variables available on the email receipt template, specific to dunning and payment reminder emails.
Handle checkout errors and inline validation
How Foxy highlights invalid checkout fields, updates the error notification bar, and fires events you can hook into for custom error handling.
Set up AutoMagiCache for a custom template
How to host your own cart, checkout, and receipt template design and have Foxy automatically cache and merge it with the required functionality.
Twig tags, filters, and functions reference
Reference for the Twig tags, filters, and functions available in Foxy templates, including custom filters and functions like money_format and generate_sso_token.
Twig template structure reference
Reference for Foxy's page templates and partial includes, how to output them with include/embed/use, and Twig block and filename conventions.