File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ public function updateProductOptions(\Magento\Framework\Event\Observer $observer
320
320
$ options ['optionTemplate ' ] = sprintf (
321
321
'<%%= data.label %%> '
322
322
. '<%% if (data.basePrice.value) { %%> '
323
- . ' <%%= data.basePrice.formatted %%> '
323
+ . ' + <%%= data.basePrice.formatted %%> '
324
324
. '<%% } %%> '
325
325
);
326
326
}
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public function dataProviderUpdateProductOptions()
91
91
'expected ' => [
92
92
'calculationAlgorithm ' => 'TOTAL_BASE_CALCULATION ' ,
93
93
'optionTemplate ' => '<%= data.label %><% if (data.finalPrice.value) ' .
94
- '{ %> <%= data.finalPrice.formatted %> (Excl. tax: <%= data.basePrice.formatted %>)<% } %> ' ,
94
+ '{ %> + <%= data.finalPrice.formatted %> (Excl. tax: <%= data.basePrice.formatted %>)<% } %> ' ,
95
95
],
96
96
'displayBothPrices ' => true ,
97
97
'priceIncludesTax ' => false ,
@@ -101,7 +101,7 @@ public function dataProviderUpdateProductOptions()
101
101
'expected ' => [
102
102
'calculationAlgorithm ' => 'TOTAL_BASE_CALCULATION ' ,
103
103
'optionTemplate ' => '<%= data.label %><% if (data.basePrice.value) ' .
104
- '{ %> <%= data.basePrice.formatted %><% } %> ' ,
104
+ '{ %> + <%= data.basePrice.formatted %><% } %> ' ,
105
105
],
106
106
'displayBothPrices ' => false ,
107
107
'priceIncludesTax ' => true ,
You can’t perform that action at this time.
0 commit comments