Re: Custom product display
Is it that you want this one specific product to use the different products_t_ch.tpl and all the others us the original products_t.tpl? If the only change is the number of products then you could problably try an {if}{else} like below.
I am not sure the correct code for this but I think you would need to use something like this on your products_t.tpl and not use the products_t_ch.tpl
{if} $products[product].XXXX {math equation="floor(100/x)" x=4="width"}
{else}
{math equation="floor(100/x)" x=$config.Appearance.products_per_row assign="width"}
{/if}
{section name=product loop=$products}
{assign var="discount" value=0}
{if %product.index% is div by $config.Appearance.products_per_row}
<tr>
{assign var="cell_counter" value=0}
{/if}
{math equation="x+1" x=$cell_counter assign="cell_counter" }
This is just a starting point and certianly not correct. Good luck and if you had a different look and feel between the different products templates you would need to do somehitng completely different.
__________________
X-Cart Pro 4.1.9
PHP5.2.5
MySQL 5.0.54
IIS/Apache/NGINX Webservers
|