JavaScript
How Foxy's JavaScript works, including events, configuration, sessions, and template rendering, for custom integrations beyond the default cart and checkout.
Configure JavaScript loading options
How to override Foxy's JavaScript defaults, like debug logging, using FC.override before Foxy's script loads.
Configure the session domain and cookie path
How to reset a Foxy session, and control which domain and path the session cookie is set on when isolating sessions by subdomain or section.
JavaScript events reference
The full list of Foxy JavaScript events available on the cart, checkout, and receipt, and how to bind, override, and trigger them.
JavaScript naming and file structure reference
Naming conventions for Foxy JavaScript variables and events, the internal file structure, and the pageload order of execution.
JavaScript Overview
An introduction to Foxy's JavaScript — the FC object, how to hook into it safely, and what's covered in this section.
Render cart and checkout templates with Twig.js
The JavaScript methods used to re-render cart and checkout templates client-side with Twig.js, and how sequential render calls are batched.