Client-Side Scripts
Client-side js performs functions that donβt require information from the server.
For example error messages.
You can add payments.js JavaScript to the page by editing the
footer_UI.isml
.
Note: All of the SiteGenesis JS is built into a single app.js file.
As an alternate approach, you can use a separate file. For example, place the mini cart code in app.js and
separate code in distinct files for PDP, cart, or multi-step checkout. Each file is loaded by the necessary page.
Note: The platform client side JS is automatically injected into SiteGenesis, based on Business manager
Configurations. Changes to the JS are unlikely.