Page MenuHomeIn-Portal Phabricator

products_new.tpl
No OneTemporary

File Metadata

Created
Sun, Mar 9, 4:17 PM

products_new.tpl

<inp2:p_InitList list_name="list_new" types="new" except="displayed" recursive="1" per_page="short_list"/>
<inp2:m_DefineElement name="new_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" /> style="margin-top: 10px" border="0" /><br/>
</inp2:m_DefineElement>
<table border="0" cellspacing="0" cellpadding="0" class="new-products-block">
<tr>
<td class="new-products-block-header"><inp2:m_Phrase label="lu_comm_NewProducts"/></td>
</tr>
<tr>
<td class="block-data">
<table>
<inp2:m_DefineElement name="new_item">
<td width="33%" align="center" valign="top" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a><br />
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="new_product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> <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_Added"/>:</strong> <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br />
<inp2:m_if check="Available">
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
<inp2:m_else />
<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
</inp2:m_if>
</td>
</inp2:m_DefineElement>
<inp2:p_ListProducts list_name="list_new" render_as="new_item" columns="3" />
</table>
<inp2:m_DefineElement name="more_link">
<a href="<inp2:m_Link template="in-commerce/store/new_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a>
</inp2:m_DefineElement>
<inp2:p_MoreLink list_name="list_new" render_as="more_link" />
</td>
</tr>
</table>

Event Timeline