128ac6d63d
* Move cart attributes to attributes file * Stop feedback prompt jumping around; consolodate strings * Update option labels and descriptions * Match checkout save function * hasShippingRate helper * Refactor full cart/frontend views for shipping calc * Add hasShippingAddress to useShippingRates hook * Initial shipping calculator in totals row implementation * Create cart context * Update preview data to match API response * Use context provider for cart * Provide default cart item for placeholder with correct shape * Remove outdated shape validation from cartlineitemrow * Use preview data in editor context * Tidy up components * Tests/lint * Update assets/js/base/components/totals/totals-shipping-item/has-shipping-rate.js Co-Authored-By: Seghir Nadir <nadir.seghir@gmail.com> * No need to camel case previewdata * Use isValidElement * Implement EditorContext * Use select if no post is given Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com> |
||
---|---|---|
.. | ||
cart-checkout | ||
editor | ||
test | ||
index.js | ||
inner-block-configuration-context.js | ||
product-layout-context.js | ||
query-state-context.js | ||
store-notices-context.js | ||
utils.js |