Customize the front-end with JavaScript
Front-end JS customization
You can use JavaScript to achieve further customization with the BigCommerce integration.
Recharge surfaces several objects and functions on the frontend that let you access store, product and cart data in the browser.
Viewing front-end objects
To view available front-end objects do the following:
- Open your browser's console
- To quickly view the data contained in a Recharge front-end object, type its name in a
console.log
statement
Example:
console.log(RCAInterface)

The following objects are available on the frontend:
Updated about 2 years ago