@magento/peregrine 13.0.0-alpha.1 → 13.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,6 +210,7 @@ export const useAddToCartDialog = props => {
210
210
  cartId,
211
211
  sku: item.product.sku,
212
212
  name: item.product.name,
213
+ pricing: item.product.price,
213
214
  priceTotal: currentPrice.value,
214
215
  currencyCode: currentPrice.currency,
215
216
  discountAmount: currentDiscount.amount_off,
@@ -79,6 +79,12 @@ export const useAddToCartButton = props => {
79
79
  cartId,
80
80
  sku: item.sku,
81
81
  name: item.name,
82
+ pricing: {
83
+ regularPrice: {
84
+ amount:
85
+ item.price_range.maximum_price.regular_price
86
+ }
87
+ },
82
88
  priceTotal:
83
89
  item.price_range.maximum_price.final_price.value,
84
90
  currencyCode:
@@ -497,6 +497,7 @@ export const useProductFullDetail = props => {
497
497
  cartId,
498
498
  sku: product.sku,
499
499
  name: product.name,
500
+ pricing: product.price,
500
501
  priceTotal: productPrice.final_price.value,
501
502
  currencyCode: productPrice.final_price.currency,
502
503
  discountAmount: productPrice.discount.amount_off,
@@ -95,6 +95,7 @@ export const useProduct = props => {
95
95
  currency_code:
96
96
  product?.price_range?.maximum_price?.final_price
97
97
  ?.currency,
98
+ price: product.price,
98
99
  price_range: {
99
100
  maximum_price: {
100
101
  final_price:
@@ -182,6 +182,7 @@ export const useWishlistItem = props => {
182
182
  cartId,
183
183
  sku: item.product.sku,
184
184
  name: item.product.name,
185
+ pricing: item.product.price,
185
186
  priceTotal:
186
187
  item.product.price_range.maximum_price.final_price
187
188
  .value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magento/peregrine",
3
- "version": "13.0.0-alpha.1",
3
+ "version": "13.0.0-beta.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },