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> |
||
---|---|---|
.. | ||
test | ||
with-feedback-prompt | ||
index.js | ||
with-attributes.js | ||
with-categories.js | ||
with-category.js | ||
with-product-variations.js | ||
with-product.js | ||
with-rest-api-hydration.js | ||
with-searched-products.js | ||
with-store-cart-api-hydration.js | ||
with-transform-single-select-to-multiple-select.js |