Skip to content
Foxy.ioHelp Center
  • Articles
  • Documentation
  • API Documentation
  • System Status
  • Contact Us
Foxy.ioHelp Center
  1. Articles
Back to Articles
Search Articles/

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.

Need Help?

Can't find the answers you're looking for? Our team is here to help. Please click below to contact us.

Image Description
Foxy’s hosted cart & payment page allow you to sell anything, using your existing website or platform.

Company

  • About Us
  • How Foxy Works
  • Foxy For Good
  • Brand Assets

Product

  • Features
  • Pricing
  • Product Updates
  • Changelogs
  • What's Next
  • Compare
  • Try Foxy Free

Security

  • Security Contact
  • PCI Compliance
  • Domains & Codebases

Support

  • Help Center
  • Documentation
  • API Documentation
  • System Status
  • Contact Us
© 2026 Foxy Commerce
  • Terms of Service
  • Privacy Policy