Re: Custom product display
Hi,
What we want is to use a 4 column layout only on specific categorys and these products will use the products_t_ch.tpl
The custom product display(products_t_ch.tpl) only displays on certain categories due to a if statement in subcategories.tpl (below) but cant figure out how to make these categories display in a 4 column layout.
{if $current_category.categoryid eq "25" or $current_category.categoryid eq "26" or $current_category.categoryid eq "173" or $current_category.categoryid eq "174" or $current_category.categoryid eq "182" or $current_category.categoryid eq "39" or $current_category.categoryid eq "35" or $current_category.categoryid eq "36" or $current_category.categoryid eq "37" or $current_category.categoryid eq "38" or $current_category.categoryid eq "138" or $current_category.categoryid eq "139" or $current_category.categoryid eq "186" or $current_category.categoryid eq "187"}
{include file="customer/main/products_t_ch.tpl" products=$products}
{else}
{include file="customer/main/products.tpl" products=$products}
{/if}
I see if i can try what you have sent to see if it works.
Many Thanks
|