Skip to content

Commit a20003b

Browse files
author
Denys Rul
committed
MAGETWO-33687: Merge adminhtml and frontend JS template Engine changes
- Change template syntax
1 parent 06e13b5 commit a20003b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function getJsonConfig()
177177

178178
$config = [
179179
'attributes' => $attributes['priceOptions'],
180-
'template' => str_replace('%s', '#{price}', $store->getCurrentCurrency()->getOutputFormat()),
180+
'template' => str_replace('%s', '<%= data.price %>', $store->getCurrentCurrency()->getOutputFormat()),
181181
'prices' => [
182182
'oldPrice' => [
183183
'amount' => $this->_registerJsPrice($this->_convertPrice($regularPrice->getAmount()->getValue())),

0 commit comments

Comments
 (0)