Skip to content

Commit c8cd10a

Browse files
committed
PB-76: PageBuilder Product List Template Is Missing Product Color & Size Options in Admin
- Include priceBox within base
1 parent 34ad9e3 commit c8cd10a

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

app/code/Magento/Catalog/view/adminhtml/requirejs-config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ var config = {
1212
productGallery: 'Magento_Catalog/js/product-gallery',
1313
baseImage: 'Magento_Catalog/catalog/base-image-uploader',
1414
productAttributes: 'Magento_Catalog/catalog/product-attributes',
15-
categoryCheckboxTree: 'Magento_Catalog/js/category-checkbox-tree',
16-
priceBox: 'Magento_Catalog/js/price-box',
17-
priceOptionDate: 'Magento_Catalog/js/price-option-date',
18-
priceOptionFile: 'Magento_Catalog/js/price-option-file',
19-
priceOptions: 'Magento_Catalog/js/price-options',
20-
priceUtils: 'Magento_Catalog/js/price-utils'
15+
categoryCheckboxTree: 'Magento_Catalog/js/category-checkbox-tree'
2116
}
2217
},
2318
deps: [
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
6+
var config = {
7+
map: {
8+
'*': {
9+
priceBox: 'Magento_Catalog/js/price-box',
10+
priceOptionDate: 'Magento_Catalog/js/price-option-date',
11+
priceOptionFile: 'Magento_Catalog/js/price-option-file',
12+
priceOptions: 'Magento_Catalog/js/price-options',
13+
priceUtils: 'Magento_Catalog/js/price-utils'
14+
}
15+
}
16+
};

app/code/Magento/Catalog/view/frontend/requirejs-config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ var config = {
1111
upsellProducts: 'Magento_Catalog/js/upsell-products',
1212
productListToolbarForm: 'Magento_Catalog/js/product/list/toolbar',
1313
catalogGallery: 'Magento_Catalog/js/gallery',
14-
priceBox: 'Magento_Catalog/js/price-box',
15-
priceOptionDate: 'Magento_Catalog/js/price-option-date',
16-
priceOptionFile: 'Magento_Catalog/js/price-option-file',
17-
priceOptions: 'Magento_Catalog/js/price-options',
18-
priceUtils: 'Magento_Catalog/js/price-utils',
1914
catalogAddToCart: 'Magento_Catalog/js/catalog-add-to-cart'
2015
}
2116
},

0 commit comments

Comments
 (0)