v2.4.0
What's Changed
🚀 Enhancement
- Update dependencies by @marcomontalbano in #65
- Add support to "bundles" by @marcomontalbano in #64
Bundle support
We added a new kind
attribute to the cl-add-to-cart
, cl-price
, and cl-availability
components.
This new attribute indicates whether the code
attribute refers to an sku
(default) or a bundle
.
Important
This feature is not fully implement on the cl-availability
component. When kind
is equal to bundle
no information will be displayed and the component will be rendered as an empty box without any size.
cl-price
<cl-price kind="bundle" code="CLGETTINGSTARTED">
<cl-price-amount type="compare-at"></cl-price-amount>
<cl-price-amount type="price"></cl-price-amount>
</cl-price>
cl-add-to-cart
<cl-add-to-cart kind="bundle" code="CLGETTINGSTARTED" quantity="2">
Add to cart
</cl-add-to-cart>
Full Changelog: v2.3.0...v2.4.0