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:

  1. Open your browser's console
  2. To quickly view the data contained in a Recharge front-end object, type its name in a console.log statement

Example:

console.log(RCAInterface)
2832

The following objects are available on the frontend:


Need Help? Contact Us