{* $Id: products_t.tpl,v 1.4.2.5 2010/12/15 11:57:05 aim Exp $ vim: set ts=2 sw=2 sts=2 et: *} {list2matrix assign="products_matrix" assign_width="cell_width" list=$products row_length=$config.Appearance.products_per_row} {assign var="is_matrix_view" value=true} {if $products_matrix}
{if $active_modules.Product_Configurator and $is_pconf and $current_product}
{assign var="url" value="product.php?productid=`$product.productid`&pconf=`$current_product.productid`&slot=`$slot`"}
{else}
{assign var="url" value="product.php?productid=`$product.productid`&cat=`$cat`&page=`$navigation_page`"}
{if $featured eq 'Y'}
{assign var="url" value=$url|cat:"&featured=Y"}
{/if}
{/if}
|
{/if}
{/foreach}
|
{/if}
{/foreach}
{if $active_modules.Product_Configurator and $is_pconf and $current_product} {include file="modules/Product_Configurator/pconf_add_form.tpl"} {elseif $active_modules.Product_Configurator and $product.product_type eq "C"} {assign var="url" value="product.php?productid=`$product.productid`&cat=`$cat`&page=`$navigation_page`"} {if $featured eq 'Y'} {assign var="url" value=$url|cat:"&featured=Y"} {/if} {include file="customer/buttons/details.tpl" href=$url} {elseif $config.Appearance.buynow_button_enabled eq "Y" and $product.product_type ne "C"} {if $login ne ""} {include_cache file="customer/main/buy_now.tpl" product=$product cat=$cat featured=$featured is_matrix_view=$is_matrix_view login="1" smarty_get_cat=$smarty.get.cat smarty_get_page=$smarty.get.page smarty_get_quantity=$smarty.get.quantity} {else} {include_cache file="customer/main/buy_now.tpl" product=$product cat=$cat featured=$featured is_matrix_view=$is_matrix_view login="" smarty_get_cat=$smarty.get.cat smarty_get_page=$smarty.get.page smarty_get_quantity=$smarty.get.quantity} {/if} {else} {/if} | {/if} {/foreach}