c13bd7e641
* hook up cart items to API data in front end (first cut) * correctly decode entities in product attributes in cart: + support unnamed attributes * correctly render markup in cart line item descriptions: - description api field is html, so use dangerouslySetInnerHTML * fix PropTypes - cartItems, not items * hook up cart totals area to API data + + move editor preview totals data to resource-previews (to match API) * tweak/tidy todo comments for cart front end * use shorter summary field for cart line item blurb * render empty cart inner blocks on front end when shopper cart is empty * ensure empty cart doesn't show while cart contents is loading * decode entities in attribute names when rendering cart items Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com> * factor out cart data to a custom hook + exit earlier while loading * wrap preview/sample cart variation data for translation * use RawHTML component for rendering cart line item summary + + linter whitespace tweak Co-authored-by: Albert Juhé Lluveras <aljullu@gmail.com> |
||
---|---|---|
.. | ||
checkout | ||
payment-methods | ||
test | ||
index.js | ||
use-collection-data.js | ||
use-collection-header.js | ||
use-collection.js | ||
use-previous.js | ||
use-query-state.js | ||
use-shallow-equal.js | ||
use-shipping-rates.js | ||
use-store-cart.js | ||
use-store-products.js |