Jump to content

Edit History

swtiris

swtiris

Hello there,

I want to have the product variants in the front list of the product so I edited templates/catalog/_partials/miniatures/product.tpl and inserted 

{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}

in the according place but I get nothing. 
I troubleshooted it a while and it seems that 

{$groups|@var_dump}

inside templates/catalog/_partials/product-variants.tpl returns NULL while inside the product it returns all the array.

Any hint for what should be done to appear the variants in the front list of the product ?

I am with PS 1.7.5.2 for your reference.

Thank you

swtiris

swtiris

Hello there,

I want to have the product variants in the front list of the product so I edited templates/catalog/_partials/miniatures/product.tpl and inserted 

{block name='product_variants'}
{include file='catalog/_partials/product-variants.tpl'}
{/block}

in the according place but I get nothing. 
I troubleshooted it a while and it seems that 

{$groups|@var_dump}

inside templates/catalog/_partials/product-variants.tpl returns NULL while inside the product it returns all the array.

Any hint for what should be done to appear the variants in the front list of the product ?

Thank you

×
×
  • Create New...