File tree Expand file tree Collapse file tree 6 files changed +9
-3
lines changed
ConfigurableProduct/etc/adminhtml
GroupedProduct/etc/adminhtml Expand file tree Collapse file tree 6 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 41
41
<field id =" number_items_to_display_pager" translate =" label" type =" text" sortOrder =" 2" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
42
42
<label >Number of Items to Display Pager</label >
43
43
</field >
44
+ <field id =" crosssell_enabled" translate =" label" type =" select" sortOrder =" 3" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
45
+ <label >Show Cross-sell Items in the Shopping Cart</label >
46
+ <source_model >Magento\Config\Model\Config\Source\Yesno</source_model >
47
+ </field >
44
48
</group >
45
49
<group id =" cart_link" translate =" label" sortOrder =" 3" showInDefault =" 1" showInWebsite =" 1" showInStore =" 0" >
46
50
<label >My Cart Link</label >
Original file line number Diff line number Diff line change 17
17
<delete_quote_after >30</delete_quote_after >
18
18
<redirect_to_cart >0</redirect_to_cart >
19
19
<number_items_to_display_pager >20</number_items_to_display_pager >
20
+ <crosssell_enabled >1</crosssell_enabled >
20
21
</cart >
21
22
<cart_link >
22
23
<use_qty >1</use_qty >
Original file line number Diff line number Diff line change @@ -181,3 +181,4 @@ Payment,Payment
181
181
"Item in Cart","Item in Cart"
182
182
"Items in Cart","Items in Cart"
183
183
"Close","Close"
184
+ "Show Cross-sell Items in the Shopping Cart","Show Cross-sell Items in the Shopping Cart"
Original file line number Diff line number Diff line change 186
186
</block >
187
187
<container name =" checkout.cart.widget" as =" checkout_cart_widget" label =" Shopping Cart Items After" />
188
188
</container >
189
- <block class =" Magento\Checkout\Block\Cart\Crosssell" name =" checkout.cart.crosssell" template =" Magento_Catalog::product/list/items.phtml" after =" -" >
189
+ <block class =" Magento\Checkout\Block\Cart\Crosssell" name =" checkout.cart.crosssell" template =" Magento_Catalog::product/list/items.phtml" after =" -" ifconfig = " checkout/cart/crosssell_enabled " >
190
190
<arguments >
191
191
<argument name =" type" xsi : type =" string" >crosssell</argument >
192
192
</arguments >
Original file line number Diff line number Diff line change 9
9
<system >
10
10
<section id =" checkout" >
11
11
<group id =" cart" >
12
- <field id =" configurable_product_image" translate =" label" type =" select" sortOrder =" 4 " showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
12
+ <field id =" configurable_product_image" translate =" label" type =" select" sortOrder =" 5 " showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
13
13
<label >Configurable Product Image</label >
14
14
<source_model >Magento\Catalog\Model\Config\Source\Product\Thumbnail</source_model >
15
15
</field >
Original file line number Diff line number Diff line change 9
9
<system >
10
10
<section id =" checkout" translate =" label" type =" text" sortOrder =" 305" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" >
11
11
<group id =" cart" translate =" label" sortOrder =" 2" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" >
12
- <field id =" grouped_product_image" translate =" label" type =" select" sortOrder =" 3 " showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
12
+ <field id =" grouped_product_image" translate =" label" type =" select" sortOrder =" 4 " showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" canRestore =" 1" >
13
13
<label >Grouped Product Image</label >
14
14
<source_model >Magento\Catalog\Model\Config\Source\Product\Thumbnail</source_model >
15
15
</field >
You can’t perform that action at this time.
0 commit comments