Page MenuHomeIn-Portal Phabricator

products_current_cat.tpl
No OneTemporary

File Metadata

Created
Sun, Mar 9, 4:18 PM

products_current_cat.tpl

<inp2:m_DefineElement name="product_image">
<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
</inp2:m_DefineElement>
<inp2:p_InitList list_name="products_in_current_cat" per_page="default" except="displayed" />
<table class="block-no-border">
<tr>
<td class="block-header"><inp2:m_Phrase label="lu_comm_Products"/></td>
</tr>
<tr>
<td class="block-data">
<table>
<tr>
<td style="width: 50%">
<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="products_in_current_cat" />
</td>
<td style="text-align: center;">
<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="products_in_current_cat" />
</td>
</tr>
</table>
<table>
<inp2:m_DefineElement name="product_row_start">
<tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_elem">
<td width="16%" align="center" valign="top" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
</td>
<td width="84%" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
<inp2:m_if check="Available">
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
</inp2:m_if>
<br />
<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br />
<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
</td>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_row_end">
</tr>
<inp2:m_if check="NotLastItem">
<tr>
<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
</tr>
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:p_ListProducts list_name="products_in_current_cat"
render_as="product_elem" row_start_render_as="product_row_start"
row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell"
columns="1" direction="V" />
</table>
<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="products_in_current_cat" />
</td>
</tr>
</table>

Event Timeline