Page MenuHomeIn-Portal Phabricator

product_details.tpl
No OneTemporary

File Metadata

Created
Sun, Mar 9, 4:37 PM

product_details.tpl

<inp2:m_DefineElement name="product_edpick_mark">
<img src="in-commerce/img/edpick.gif" alt="<inp2:m_Phrase label="lu_comm_EditorsPick" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_EditorsPick"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_new_mark">
<img src="in-commerce/img/new.gif" alt="<inp2:m_Phrase label="lu_comm_New" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_New"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_pop_mark">
<img src="in-commerce/img/toprated.gif" alt="<inp2:m_Phrase label="lu_comm_Pop" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_Pop"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_topseller_mark">
<img src="in-commerce/img/topseller.gif" alt="<inp2:m_Phrase label="lu_comm_TopSeller" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_TopSeller"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_star_on">
<img src="img/star_rate.gif" alt="">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="product_star_off">
<img src="img/star.gif" alt="" width="11" height="11">
</inp2:m_DefineElement>
<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:m_DefineElement name="imageLB"><inp2:m_param name="img_path" /></inp2:m_DefineElement>
<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
<tr>
<td class="block-header"><inp2:m_Phrase label="lu_comm_ProductDetails"/></td>
</tr>
<tr>
<td class="block-data-single">
<table style="vertical-align: top; float: top;">
<tr>
<td style="text-align: center; width: 200px; padding-right: 10px;">
<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br /><br />
<a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><img src="img/zoom.gif" alt="" border="0"></a>
<a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><inp2:m_Phrase label="lu_comm_ZoomImage"/></a>
<!--## Check if image exists ##-->
<inp2:m_else/>
<inp2:p_Image render_as="product_image" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
</inp2:m_if>
<inp2:m_if check="p_HasAdditionalImages">
&nbsp;&nbsp;&nbsp;
<a href="<inp2:p_ProductLink template="__default__" />#images"><img src="img/more_images.gif" alt="" border="0"></a>
<a href="<inp2:p_ProductLink template="__default__" />#images"><inp2:m_Phrase label="lu_comm_MoreImages"/></a>
</inp2:m_if>
<br /><br />
<span class="price2"><inp2:p_Field name="Price" currency="selected"/></span>
<inp2:m_if check="p_Available">
<inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/>
<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a>
<a href="<inp2:p_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_if>
<inp2:m_else />
<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
</inp2:m_if>
</td>
<td>
<a href="<inp2:p_ProductLink template="__default__"/>" class="link-product1"><inp2:p_field name="Name"/></a><nobr><inp2:p_Rating star_on_render_as="product_star_on" star_off_render_as="product_star_off"/></nobr><br />
<inp2:p_EdPickMark render_as="product_edpick_mark"/>&nbsp;
<inp2:p_TopSellerMark render_as="product_topseller_mark"/>&nbsp;
<inp2:p_NewMark render_as="product_new_mark"/>&nbsp;
<inp2:p_PopMark render_as="product_pop_mark"/>&nbsp;
<br />
<inp2:m_if check="p_Field" name="ManufacturerId">
<strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
</inp2:m_if>
<br />
<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:p_field field="CachedVotesQty"/> votes) <a href="<inp2:p_ProductLink template="in-commerce/product/rate_product" />"><inp2:m_Phrase label="lu_comm_RateThisProduct"/></a><br />
<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_ReviewCount /> <a href="<inp2:p_ProductLink />#reviews"><inp2:m_Phrase label="lu_comm_ViewReviews"/></a> | <a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br /><br />
<inp2:m_if check="p_Field" name="MSRP">
<strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
</inp2:m_if>
<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br />
<inp2:m_if check="p_Savings">
<span class="listing-field-name">
<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%)
</span><br/>
</inp2:m_if>
<br />
<inp2:m_if check="p_CustomField" name="Availability">
<strong><inp2:p_CustomFieldLabel field="Availability"/>:</strong>
<inp2:p_CustomField name="Availability"/>
<br />
<br />
</inp2:m_if>
<inp2:m_if check="p_HasQuantityPricing">
<inp2:m_if check="p_IsTangible">
<table>
<tr>
<td colspan="2" class="block-header">
<inp2:m_Phrase label="lu_comm_QuantityPricing"/>
</td>
</tr>
<tr class="cart-header">
<td>
<inp2:m_Phrase label="lu_comm_Quantity"/>
</td>
<td>
<inp2:m_Phrase label="lu_comm_Price"/>
</td>
</tr>
<inp2:m_DefineElement name="price_bracket">
<tr class="cart-item-small">
<td>
<inp2:Field name="MinQty"/> - <inp2:Field name="MaxQty"/>
</td>
<td>
<inp2:m_if check="Field" name="Negotiated">
<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>
<inp2:m_else/>
<inp2:Field name="Price" currency="selected"/>
</inp2:m_if>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:p_ListPriceBrackets render_as="price_bracket"/>
</table>
<br />
</inp2:m_if>
<inp2:m_if check="p_IsSubscription">
<table>
<tr>
<td colspan="3" class="block-header">
<inp2:m_Phrase label="lu_comm_Pricing"/>
</td>
</tr>
<tr class="cart-header">
<td>
<inp2:m_Phrase label="lu_comm_AccessDuration"/>
</td>
<td>
<inp2:m_Phrase label="lu_comm_Price"/>
</td>
<td>
&nbsp;
</td>
</tr>
<inp2:m_DefineElement name="access_price_bracket">
<tr class="cart-item-small">
<td>
<inp2:Field name="AccessDuration"/> <inp2:Field name="AccessUnit"/>
<br />
<small><inp2:Field name="Description"/></small>
</td>
<td>
<inp2:Field name="Price" currency="selected"/>
</td>
<td>
<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" /></a>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:p_ListPriceBrackets render_as="access_price_bracket"/>
</table>
<br />
</inp2:m_if>
</inp2:m_if>
<br />
<inp2:m_include template="in-commerce/blocks/products/form_options"/>
<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="Description"/> <br />
<br />
<inp2:m_if check="p_CustomField" name="Features">
<strong><inp2:p_CustomFieldLabel field="Features"/>:</strong>
<inp2:p_CustomField name="Features"/>
<br />
<br />
</inp2:m_if>
<inp2:m_if check="p_HasAdditionalImages">
<a name="images"></a>
<strong><inp2:m_Phrase label="lu_comm_Images"/>:</strong><br />
<br />
<table>
<inp2:m_DefineElement name="image_elem">
<td>
<a href="<inp2:p_PictureLink template="in-commerce/product/picture_fullsize.tpl" picture_list="1" />" target="_blank"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
<inp2:Field name="Name"/>
</td>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="row_start_elem"><tr></inp2:m_DefineElement>
<inp2:m_DefineElement name="row_end_elem"></tr></inp2:m_DefineElement>
<inp2:m_DefineElement name="empty_cell_elem"><td>&nbsp;</td></inp2:m_DefineElement>
<inp2:p_ListImages render_as="image_elem" per_page="-1" types="additional"
row_start_render_as="row_start_elem"
row_end_render_as="row_end_elem"
empty_cell_render_as="empty_cell_elem"
direction="H" columns="3" main_special="" />
</table><br />
</inp2:m_if>
<a name="reviews"></a>
<strong><inp2:m_Phrase label="lu_comm_Reviews"/>:</strong><br />
<a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br />
<br />
<table>
<inp2:m_DefineElement name="review_row">
<tr>
<td>
<strong><inp2:m_Phrase label="lu_comm_ReviewBy"/> <inp2:Field name="ReviewedBy"/></strong>, <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br />
<br />
<inp2:field field="ReviewText"/><br />
<hr />
</td>
</tr>
</inp2:m_DefineElement>
<inp2:p_ListReviews render_as="review_row" per_page="-1" main_special="" />
</table>
<a name="related"></a>
<inp2:m_include template="in-commerce/blocks/products/products_related.tpl" data_exists="1"/>
</td>
</tr>
</table>
</td>
</tr>
</table>

Event Timeline