File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
app/code/Magento/Checkout
view/frontend/web/template/minicart/item Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ protected function doGetItemData()
71
71
'configure_url ' => $ this ->getConfigureUrl (),
72
72
'is_visible_in_site_visibility ' => $ this ->item ->getProduct ()->isVisibleInSiteVisibility (),
73
73
'product_name ' => $ this ->item ->getProduct ()->getName (),
74
+ 'product_sku ' => $ this ->item ->getProduct ()->getSku (),
74
75
'product_url ' => $ this ->getProductUrl (),
75
76
'product_has_url ' => $ this ->hasProductUrl (),
76
77
'product_price ' => $ this ->checkoutHelper ->formatPrice ($ this ->item ->getCalculationPrice ()),
Original file line number Diff line number Diff line change 74
74
< input data-bind ="attr: {
75
75
id: 'cart-item-'+item_id+'-qty',
76
76
'data-cart-item': item_id,
77
- 'data-item-qty': qty
77
+ 'data-item-qty': qty,
78
+ 'data-cart-item-id': product_sku
78
79
}, value: qty "
79
80
type ="number "
80
81
size ="4 "
You can’t perform that action at this time.
0 commit comments