Fixed variable typo (redution instead of reduction in some places)
This commit is contained in:
@@ -64,7 +64,7 @@ var ProductFn = (function()
|
||||
productShowPrice: '0',
|
||||
productUnitPriceRatio: '',
|
||||
|
||||
productPriceWithoutRedution: '',
|
||||
productPriceWithoutReduction: '',
|
||||
productPrice: '',
|
||||
|
||||
// Customizable field
|
||||
|
||||
@@ -74,13 +74,13 @@ function initProductPage()
|
||||
|
||||
{if !$priceDisplay || $priceDisplay == 2}
|
||||
{assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, 2)}
|
||||
{assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)}
|
||||
{assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)}
|
||||
{elseif $priceDisplay == 1}
|
||||
{assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, 2)}
|
||||
{assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)}
|
||||
{assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)}
|
||||
{/if}
|
||||
|
||||
ProductFn.productPriceWithoutRedution = '{$productPriceWithoutRedution}';
|
||||
ProductFn.productPriceWithoutReduction = '{$productPriceWithoutReduction}';
|
||||
ProductFn.productPrice = '{$productPrice}';
|
||||
|
||||
// Customizable field
|
||||
|
||||
Reference in New Issue
Block a user