Jump to content

Edit History

floriqn

floriqn

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}

spacer.png

floriqn

floriqn

8 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}

spacer.png

floriqn

floriqn

3 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>

 

Same..

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}

spacer.png

×
×
  • Create New...