- 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 SDK
tov2.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
trackingInfo
to return tracking information for each product in set (#651)
- Add
openCheckout
user 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
lineItem
component (#640)- Add
priceWithDiscounts
contents option and enable by default - Disable
price
contents option by default - Add
priceWithDiscounts
to the order array - Add
priceWithDiscounts
,fullPrice
,discount
, anddiscountIcon
styles - Update default
price
styles to account for its position inside thepriceWithDiscounts
container
- Add
- Add support for automatic discounts in the
cart
component (#640)- Add
discounts
contents option and enable by default - Add
discount
,discountText
,discountIcon
,discountAmount
, andcartScrollWithDiscounts
styles
- Add
- Update layout of
lineItem
component to position variant title below product title (#640)- Update default position of
variantTitle
in thelineItem
component's order array - Update default
variantTitle
styles
- 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-buy
dependency to v2.7.0 (#635) - Fix missing double quotes around classes in options template (#636)
- Bump
shopify-buy
dependency to v2.2.0. - Asserts
lineItemsSubtotalPrice
is exposed. - Add a
formattedLineItemsSubtotal
field to cart view model. The new field consists in a sum of all line items prices without any discount, taxes or shipping rates applications.