mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-18 00:17:25 +00:00
The split checkout page uses `mrujs` and `CableCar` to set the form as a remote one and perform `CableCar` operation if any : https://mrujs.com/how-tos/integrate-cablecar The previous solution broke the cart handled by angularJS, it looks like `morpdom` (https://mrujs.com/references/remote-forms-and-links Navigation Adapter section ) was doing something that angularJS didn't like when redirecting to the current page. With the power of `CableCar`, we now replace the #voucher-section on the split checkout page instead of doing a redirect.