Page MenuHomeIn-Portal Phabricator

products_featured.tpl
No OneTemporary

File Metadata

Created
Tue, May 20, 3:25 AM

products_featured.tpl

<inp2:p_InitList list_name="list_featured" types="featured" except="displayed" recursive="1" per_page="1" sort_by="random"/>
<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 border="0" cellspacing="0" cellpadding="0" class="featured-block">
<tr>
<td class="featured-block-header"><inp2:m_Phrase label="lu_comm_Featured"/></td>
</tr>
<tr>
<td>
<table class="featured-block-data">
<inp2:m_DefineElement name="featured_item">
<td width="30%" align="center" valign="top" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br />
<span class="price2"><inp2:Field name="Price" currency="selected"/></span>
<inp2:m_if check="Available">
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a>
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="23" height="23" border="0" vspace="4" /></a>
<inp2:m_else />
<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
</inp2:m_if>
</td>
<td width="70%" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>" class="link-product1"><inp2:field name="Name"/></a><br />
<inp2:m_if check="Field" name="ManufacturerId">
<strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
</inp2:m_if>
<br />
<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><strong><inp2:Field name="MSRP" currency="selected"/></strong></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"/> <br />
<br />
<inp2:m_if check="CustomField" name="Availability">
<strong><inp2:CustomFieldLabel field="Availability"/>:</strong>
<inp2:CustomField name="Availability"/>
<br />
<br />
</inp2:m_if>
<inp2:m_if check="CustomField" name="Features">
<strong><inp2:CustomFieldLabel field="Features"/>:</strong>
<inp2:CustomField name="Features"/>
<br />
<br />
</inp2:m_if>
</td>
</inp2:m_DefineElement>
<inp2:p_ListProducts list_name="list_featured" render_as="featured_item" columns="1" />
</table>
<inp2:m_DefineElement name="more_link">
<a href="<inp2:m_Link template="in-commerce/store/featured_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br />
</inp2:m_DefineElement>
<inp2:p_MoreLink list_name="list_featured" render_as="more_link" />
</td>
</tr>
</table>

Event Timeline