10 minutes ago, ndiaga said:Please move the function back to Category.php and your template call it this way:
<!--- Do this inside the product listing loop --> {assign var=reductions value=Category::getMinPriceValue($product.id_product)} <pre>{$reductions|print_r}</pre>
maybe but not !...
In product.tpl (just for test) :
{block name='product_price_and_shipping'} <!--- Do this inside the product listing loop --> {assign var=reductions value=Category::getMinPriceValue($product.id_product)} <pre>{$reductions|print_r}</pre> ... ... {/block}