File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/Bundle/view/base/web/js Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ define([
19
19
optionHandlers : { } ,
20
20
optionTemplate : '<%= label %>' +
21
21
'<% if (finalPrice.value) { %>' +
22
- ' <%= finalPrice.formatted %>' +
22
+ ' + <%= finalPrice.formatted %>' +
23
23
'<% } %>' ,
24
24
controlContainer : 'dd' , // should be eliminated
25
25
priceFormat : { }
@@ -48,7 +48,9 @@ define([
48
48
qty = $ ( this . options . qtyFieldSelector , form ) ;
49
49
50
50
if ( priceBox . data ( 'magePriceBox' ) && priceBox . priceBox ( 'option' ) && priceBox . priceBox ( 'option' ) . priceConfig ) {
51
- this . _setOption ( 'optionTemplate' , priceBox . priceBox ( 'option' ) . priceConfig . optionTemplate ) ;
51
+ if ( priceBox . priceBox ( 'option' ) . priceConfig . optionTemplate ) {
52
+ this . _setOption ( 'optionTemplate' , priceBox . priceBox ( 'option' ) . priceConfig . optionTemplate ) ;
53
+ }
52
54
this . _setOption ( 'priceFormat' , priceBox . priceBox ( 'option' ) . priceConfig . priceFormat ) ;
53
55
priceBox . priceBox ( 'setDefault' , this . options . optionConfig . prices ) ;
54
56
}
You can’t perform that action at this time.
0 commit comments