6d7fdf50e0
* useStoreCartCoupons hook * Apply coupon w/ basic error handling for the fetch * Basic store specifically for cart data * Working on error states * Show error on coupon fail * removeCoupon action * Added extra endpoints for more efficient cart queries * Apply/remove coupons working * Track applying/removing state * StoreCartCoupon typedef * Use coupon code on index * Remove custom controls definition * Adjust storecartcoupons mapper and remove ref * Move cartData defaults and remove ref * Call API directly, avoid schema lookup * Improved selectors * StoreCart typedef * Split up cart state data and add more typedefs * Add API tests for apply/remove coupon * Jest tests * Move default cart data to constant * Comment indentation |
||
---|---|---|
.. | ||
bin | ||
e2e-tests | ||
js | ||
php | ||
bootstrap.php |