5 minutes ago, ndiaga said:Call it in CategoryController.php there you have the possibility to send the variable to smarty.
I just tried, same problem.
In CategoryController.php :
public static function getMinPriceValue($id_product)
{
$reductions = DB::getInstance()->ExecuteS('
SELECT price
FROM `'._DB_PREFIX_.'specific_price`
WHERE id_product = '.$id_product.'');
return $reductions;
}
And in templates\catalog\_partials\miniatures\product.tpl :
{$reductions}
Error : Notice: Undefined index: reductions