Skip to content

Commit ab2416e

Browse files
committed
MAGETWO-33325: Stubilize branch before pull request
- Fixed configurable with Tax enabled
1 parent 4065cef commit ab2416e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Tax/Model/Observer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ public function updateProductOptions(\Magento\Framework\Event\Observer $observer
311311
// prepare correct template for options render
312312
if ($this->_taxData->displayBothPrices()) {
313313
$options['optionTemplate'] = sprintf(
314-
'<%%= label %%>'
315-
. '<%% if(finalPrice.value) { %%>'
316-
. ' +<%%= finalPrice.formatted %%> (%1$s <%%= basePrice.formatted %%>)'
314+
'<%%= data.label %%>'
315+
. '<%% if(data.finalPrice.value) { %%>'
316+
. ' <%%= data.finalPrice.formatted %%> (%1$s <%%= data.basePrice.formatted %%>)'
317317
. '<%% } %%>',
318318
__('Excl. tax:')
319319
);

0 commit comments

Comments
 (0)