config.js
config.js controls the location of the checkout pages on your site. You can relocate checkout to anywhere you’d like.
var checkout_config = {
"checkoutPath": "/checkout"
}
checkoutPath
The path on which your checkout page lives. You can point this to any page on your site, as long as you create that page in the editor and add the correct markup for the checkout engine to be displayed.
<div data-cid="checkout" id="oncourse-checkout"/>
Updated 5 months ago