Implement on demo Site based on CircaCharge page.
Order First, Need update code for global file Page
order.js in CDN : Add one more callback to function in initial–en.js file. This function will be called all product were bind from API.
Optimize code on for order-en.js - Done on Local (Remove redundant js)
Current, the extension like AdBlock is blocking the Popup on Order => Need change both files name CSS and JS. Such as: orderpopup.css and orderpopup.js
Making demo on TestCMS
- Add installment payment element
- Add a callback on after product, countries loaded
paymentprocess.js
- Add crollTop function on change payment method
- Also need update widget payment to set default checked
addressform.js
- Add condition check empty Province
orderen.js
- Should have function Site.onAfterLoadProducts, it will be called from order.js. Refer note of order.js above.
exitpopup.js and exitpopup.css need rename into orderpopup.js and orderpopup.css
Update the link of JS, CSS files in template of Checkout 1, 2, 3