[-] FO : Bad specific price for a combination // sorry
This commit is contained in:
@@ -326,8 +326,9 @@ function updateDisplay()
|
||||
reduction = ps_round(reduction / tax, 6);
|
||||
|
||||
}
|
||||
else if (product_specific_price && product_specific_price.reduction && selectedCombination['specific_price'] > 0)
|
||||
else if (product_specific_price && product_specific_price.reduction && !selectedCombination.specific_price)
|
||||
{
|
||||
console.log('qsdqsd');
|
||||
if (product_specific_price.reduction_type == 'amount')
|
||||
reduction_price = (specific_currency ? product_specific_price.reduction : product_specific_price.reduction * currencyRate);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user