I've been trying to get to this task for a while, but never found time. I have got the shopping_cart AJAXy (in other words, no page reload needed), and no need for customer to click the "refesh" button when they update Qty;
1. addition of - and + buttons by the Qty Input, when clicked
- the Qty in the input box increases/decreases
- the line item price changes appropriately
- the sub-total changes appropriately
- the core shopping_cart in the Navbar updates appropriately
2. the red delete button, when clicked
- removes the line item
- the sub-total changes appropriately
- the core shopping_cart in the Navbar updates appropriately
https://www.youtube.com/watch?v=A1W58AisALg
In this video, notice the Navbar auto-updating as Qty is changed.
AJAX Updates on shopping_cart.php page
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
AJAX Updates on shopping_cart.php page
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.