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> |
||
---|---|---|
.. | ||
subtotals-item | ||
totals-coupon-code-input | ||
totals-discount-item | ||
totals-fees-item | ||
totals-footer-item | ||
totals-item | ||
totals-shipping-item | ||
totals-taxes-item | ||
index.js |