Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Implement on demo Site based on CircaCharge page.

Order

First, Need update code for global file order.js in CDN : Add one more callback to function in initial–en.js file. This function will get data after all product were bind from API.

Optimize code on for order-en.js - Done on Local (Remove redundant js)

Making demo on TestCMSOrder Page

order.js

  • Add installment payment element - Not influence with site not have installment
  • Add a callback on after product, countries loaded. Callback should be defined in initial-en.js

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

exitpopup.js and exitpopup.css need rename into orderpopup.js and orderpopup.css


...

orderen.js

  • Should have function Site.onAfterLoadProducts, it will be called from order.js. Refer note of order.js above.



Change CDN link and Update the link of JS, CSS files in template of  Checkout 1, 2, 3