- Removed
base64encoding and decoding ofidsduring config normalization because Storefront API does not return encodedidsanymore (#821)
- Updated
JS Buy SDKtov2.16.1, which uses Storefront API version 2022-07 (#816) - Replaced
node-sasswithsassand updatednodetov16.16.0(#816)
- Updated
JS Buy SDKtov2.12.0, which uses Storefront API version 2021-07 (#785) - Use list markup for cart line items (#720)
- Update line item quantity accessibility labels (#717)
- Connect variant label to select (#718)
- Increase opacity of compare at price to improve contrast (#716)
- Connect the cart note label to the textarea (#715)
- Update cart close accessibility label (#714)
- Fix select focus state visibility in firefox (#713)
- Toggle cart when space key is pressed (#712)
- Prevent focus on cart elements when closed (#710)
- Return focus to the right element when the cart is closed (#709)
- Add price and compare at price accessibility labels (#708)
- Add focus trap when cart or modal are open (#707)
- Update product set component to use the correct container node when in non-iFrame mode #680
- Fixed disabled button css class #681
- Show discount code within the cart when discount title is unavailable #686
- Prevent adding multiple close modal event listeners #692
- Updated changelog for v2.1.3
- Updated code of conduct report link (#678)
- Updated
JS Buy SDKtov2.9.2(#674)- This update ensures that checkouts and content returned from Storefront API/JS Buy SDK will be in the store's primary language.
- Add unit pricing to the product component (#671)
- Defer creation of checkout until a variant is added to cart (#657)
- The cart component's model will now be null until a variant has been added to the cart
- Changed text-rendering to auto for select elements to prevent Safari 13 from crashing (#653)
- Fix product set's
trackingInfoto return tracking information for each product in set (#651)
- Add
openCheckoutuser event (#647) - Fixed pagination error for product set buy buttons (#645)
- Tracker related updates:
- Fix how ShopifyBuy.UI is set (#643)
- Add support for automatic discounts in the
lineItemcomponent (#640)- Add
priceWithDiscountscontents option and enable by default - Disable
pricecontents option by default - Add
priceWithDiscountsto the order array - Add
priceWithDiscounts,fullPrice,discount, anddiscountIconstyles - Update default
pricestyles to account for its position inside thepriceWithDiscountscontainer
- Add
- Add support for automatic discounts in the
cartcomponent (#640)- Add
discountscontents option and enable by default - Add
discount,discountText,discountIcon,discountAmount, andcartScrollWithDiscountsstyles
- Add
- Update layout of
lineItemcomponent to position variant title below product title (#640)- Update default position of
variantTitlein thelineItemcomponent's order array - Update default
variantTitlestyles
- Update default position of
- Update browser support (#641)
- Internet Explorer: 11+
- Safari: 8+
- Chrome, Firefox, Opera, Edge: last 2 versions
- iOS: 8+
- Android: 4.4+
- Bump various npm dependencies, notably the following major updates: (#633)
babel/core|babel/cli|babel/runtime: v7.xcore-js: v3.1.4node-sass: v4.12.0mustache: v3.0.1morphdom: v2.5.5browserify: v13.3.0postcss: v7.1.17
- Bump
shopify-buydependency to v2.7.0 (#635) - Fix missing double quotes around classes in options template (#636)
- Bump
shopify-buydependency to v2.2.0. - Asserts
lineItemsSubtotalPriceis exposed. - Add a
formattedLineItemsSubtotalfield to cart view model. The new field consists in a sum of all line items prices without any discount, taxes or shipping rates applications.