We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4065cef commit ab2416eCopy full SHA for ab2416e
app/code/Magento/Tax/Model/Observer.php
@@ -311,9 +311,9 @@ public function updateProductOptions(\Magento\Framework\Event\Observer $observer
311
// prepare correct template for options render
312
if ($this->_taxData->displayBothPrices()) {
313
$options['optionTemplate'] = sprintf(
314
- '<%%= label %%>'
315
- . '<%% if(finalPrice.value) { %%>'
316
- . ' +<%%= finalPrice.formatted %%> (%1$s <%%= basePrice.formatted %%>)'
+ '<%%= data.label %%>'
+ . '<%% if(data.finalPrice.value) { %%>'
+ . ' <%%= data.finalPrice.formatted %%> (%1$s <%%= data.basePrice.formatted %%>)'
317
. '<%% } %%>',
318
__('Excl. tax:')
319
);
0 commit comments