Page MenuHomeIn-Portal Phabricator

manufacturer_products.tpl
No OneTemporary

File Metadata

Created
Sun, Mar 9, 7:16 PM

manufacturer_products.tpl

<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
<tr>
<td class="block-header"><inp2:m_Phrase label="lu_comm_ProductsBy"/> <inp2:manuf_Field name="Name" /></td>
</tr>
<tr>
<td class="block-data">
<inp2:p_InitList types="manufacturer" list_name="list_by_manufacturer" per_page="default" recursive="true" parent_cat_id="any" />
<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>
<table>
<tr>
<td style="width: 300px">
<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_by_manufacturer" />
</td>
<td style="text-align: center;">
<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_by_manufacturer" />
</td>
</tr>
</table>
<br />
<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="list_by_manufacturer" columns="1" direction="V" 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" />
</table>
</td>
</tr>
</table>

Event Timeline