Page MenuHomeIn-Portal Phabricator

products.elm.tpl
No OneTemporary

File Metadata

Created
Fri, Feb 7, 7:17 PM

products.elm.tpl

<!--## PRODUCT ELEMENT ##-->
<inp2:m_DefineElement name="product_element">
<td>
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
<table>
<tr>
<td class="picture-padding">
<inp2:m_if check="m_Param" name="show_relevance">
<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
</inp2:m_if>
<table>
<tr><td align="center">
<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
</td></tr>
<tr><td align="center">
<inp2:m_if check="Available">
<br/>
<input class="button" onclick=" window.location.href='<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_btn_BuyNow" no_editing="1"/>" />
<inp2:m_else />
<inp2:m_phrase label="lu_comm_outofstock"/>
</inp2:m_if>
</td></tr>
</table>
</td>
<td class="text-padding" valign="top" >
<a href="<inp2:ProductLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a>
<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element"/>
<inp2:m_if check="Available">
<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/buy2.gif" alt="<inp2:m_Phrase name="" no_editing="1"/>"/></a>
</inp2:m_if>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
</span>
<br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
<br />
<inp2:m_if check="Field" name="MSRP">
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
</inp2:m_if>
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
</span> <br />
<inp2:m_if check="Savings">
<span class="listing-field-name">
<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" /> (<inp2:Savings type="percent"/>%)
</span><br/>
</inp2:m_if>
<inp2:m_if check="Field" name="DescriptionExcerpt">
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br/>
</inp2:m_if>
<br/>
<inp2:m_if check="IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
<inp2:m_else/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
</inp2:m_if>
&nbsp;|&nbsp;
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
</td>
</tr>
</table>
</td>
</inp2:m_DefineElement>
<!--## /PRODUCT ELEMENT ##-->
<!--## RELATED PRODUCT ELEMENT ##-->
<inp2:m_DefineElement name="related_product_element">
<tr>
<td width="25"><img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/></td>
<td><a href="<inp2:ProductLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a></td>
</tr>
</inp2:m_DefineElement>
<!--## //RELATED PRODUCT ELEMENT ##-->
<!--## FEATURED PRODUCT ELEMENT SHORT ##-->
<inp2:m_DefineElement name="featured_product_element_short">
<td valign="top">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
<table>
<tr>
<td class="picture-padding">
<table>
<tr>
<td align="center">
<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
</td>
</tr>
<tr>
<td align="center">
<inp2:m_if check="Available">
<br/>
<input class="button" onclick=" window.location.href='<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_btn_BuyNow" no_editing="1"/>" />
<inp2:m_else />
<inp2:m_phrase label="lu_comm_outofstock"/>
</inp2:m_if>
</td>
</tr>
</table>
</td>
<td class="text-padding" valign="top">
<span class="text-title">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a>
</span>
<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element"/>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
</span>
<br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
<inp2:m_if check="Field" name="ManufacturerId">
<inp2:m_Phrase label="lu_fld_Manufacturer"/>: <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/products/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">
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
</inp2:m_if>
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
</span> <br />
<inp2:m_if check="Savings">
<span class="listing-field-name">
<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" /> (<inp2:Savings type="percent"/>%)
</span><br/>
</inp2:m_if>
</td>
</tr>
</table>
</td>
</inp2:m_DefineElement>
<!--## /FEATURED PRODUCT ELEMENT SHORT ##-->
<!--## FEATURED PRODUCT ELEMENT ##-->
<inp2:m_DefineElement name="featured_product_element">
<td>
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
<table>
<tr>
<td class="picture-padding">
<table>
<tr><td align="center">
<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
</td></tr>
<tr><td align="center">
<inp2:m_if check="Available">
<br/>
<input class="button" onclick=" window.location.href='<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_btn_BuyNow" no_editing="1"/>" />
<inp2:m_else />
<inp2:m_phrase label="lu_comm_outofstock"/>
</inp2:m_if>
</td></tr>
</table>
</td>
<td class="text-padding" valign="top">
<span class="text-title">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a>
</span>
<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element"/>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
</span>
<br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
<inp2:m_if check="Field" name="ManufacturerId">
<inp2:m_Phrase label="lu_fld_Manufacturer"/>: <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/products/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">
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
</inp2:m_if>
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
</span> <br />
<inp2:m_if check="Savings">
<span class="listing-field-name">
<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" /> (<inp2:Savings type="percent"/>%)
</span><br/>
</inp2:m_if>
<inp2:m_if check="Field" name="DescriptionExcerpt">
<br/>
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br />
</inp2:m_if>
<br />
<inp2:m_if check="CustomField" name="Availability">
<inp2:CustomFieldLabel field="Availability"/>:
<inp2:CustomField name="Availability"/>
<br />
<br />
</inp2:m_if>
<inp2:m_if check="CustomField" name="Features">
<inp2:CustomFieldLabel field="Features"/>:
<inp2:CustomField name="Features"/>
<br />
<br />
</inp2:m_if>
</td>
</tr>
</table>
</td>
</inp2:m_DefineElement>
<!--## /FEATURED PRODUCT ELEMENT ##-->
<!--## EDITORS PICK PRODUCT ELEMENT ##-->
<inp2:m_DefineElement name="pick_product_element">
<td width="16%" align="center" valign="top" class="block-data">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/></a><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>
<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">
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
</inp2:m_if>
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
</span> <br />
<inp2:m_if check="Savings">
<span class="listing-field-name">
<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" /> (<inp2:Savings type="percent"/>%)
</span><br/>
</inp2:m_if>
<inp2:m_if check="Field" name="DescriptionExcerpt">
<br/><span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br />
</inp2:m_if>
</td>
</inp2:m_DefineElement>
<!--## /EDITORS PICK PRODUCT ELEMENT ##-->
<!--## DOWNLOADABLE PRODUCT ELEMENT ##-->
<inp2:m_DefineElement name="downloadable_product_element">
<td>
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
<table>
<tr>
<td class="picture-padding">
<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
</td>
<td class="text-padding" valign="top">
<span class="text-title">
<inp2:m_if check="p_HasFiles">
<a href="<inp2:ProductLink template="in-commerce/my_account/my_downloads_more"/>"><inp2:Field name="Name" /></a>
<inp2:m_else />
<inp2:Field name="Name" />
</inp2:m_if>
</span>
<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element"/>
<br />
<span class="item-statistics">
<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
</span>
<br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
<br />
<inp2:m_if check="Field" name="DescriptionExcerpt">
<inp2:m_Phrase label="lu_fld_Description"/>: <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br />
</inp2:m_if>
<inp2:m_if check="p_HasFiles">
<a href="<inp2:ProductFileLink template="in-commerce/elements/download.elm"/>"><inp2:m_Phrase label="lu_comm_DownloadNow" /></a><br />
<a href="<inp2:ProductLink template="in-commerce/my_account/my_downloads_more"/>"><inp2:m_Phrase label="lu_comm_MoreFiles" />...</a><br />
<inp2:m_else />
<inp2:m_Phrase label="lu_text_NoFilesForThisProduct" />
</inp2:m_if>
<br /><br />
<inp2:m_if check="IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
<inp2:m_else/>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
</inp2:m_if>
&nbsp;|&nbsp;
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
</td>
</tr>
</table>
</td>
</inp2:m_DefineElement>
<!--## /DOWNLOADABLE PRODUCT ELEMENT ##-->
<!--## SHORT PRODUCT ELEMENT ##-->
<inp2:m_DefineElement name="product_short_element">
<tr>
<td>
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field field="Name" /></a><br />
<inp2:m_if check="Field" name="DescriptionExcerpt">
<inp2:Field field="DescriptionExcerpt" first_chars="70"/><br />
</inp2:m_if>
<inp2:Field name="Price" currency="selected"/></span>
<br /><br />
</td>
</tr>
</inp2:m_DefineElement>
<!--## /SHORT PRODUCT ELEMENT ##-->
<!--## NO PRODUCTS ELEMENT ##-->
<inp2:m_DefineElement name="no_products">
<inp2:m_phrase name="lu_NoProducts"/>
</inp2:m_DefineElement>
<!--## /NO PRODUCTS ELEMENT ##-->

Event Timeline