Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F775876
in-commerce
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Feb 6, 12:13 PM
Size
64 KB
Mime Type
text/x-diff
Expires
Sat, Feb 8, 12:13 PM (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
558380
Attached To
rMINC Modules.In-Commerce
in-commerce
View Options
Index: branches/5.0.x/themes/default2009/in-commerce/products/product_detail.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-commerce/products/product_detail.tpl (revision 12339)
+++ branches/5.0.x/themes/default2009/in-commerce/products/product_detail.tpl (revision 12340)
@@ -1,302 +1,302 @@
<!--##
<NAME>Products - Details Design</NAME>
<DESC>General design template for Product Details section</DESC>
<SECTION>Platform||Products</SECTION>
##-->
<inp2:p_AddToRecent /> <!--## ADD CURRENT PRODUCT TO RECENTLY VIEWED PRODUCTS ##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:p_Field name="Name"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" data_exists="1" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
</div>
<div class="movable-element">
<!-- Product Details -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_ProductDetails"/>
</inp2:m_Capture>
<table class="fullwidth table-border">
<tr>
<td class="item-padding">
<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/> <span class="text-title"><inp2:p_Field name="Name"/></span>
- <inp2:m_if check="p_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="p_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="p_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
- <inp2:m_if check="p_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="p_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:m_if check="p_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="p_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="p_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="p_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="p_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:p_VotesIndicator render_as="rating_element"/>
<br />
<br />
<table>
<tr>
<td style="text-align: center; padding-right: 10px;" valign="top">
<!--## Check if image exists ##-->
<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:p_ImageSrc DefaultImage="platform/img/no_picture.gif" format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:p_Field name='Name' html_escape='1'/>">
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
</a>
<!--## Check if image exists ##-->
<inp2:m_else/>
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
</inp2:m_if>
<br />
<inp2:m_if check="p_HasAdditionalImages">
<a href="<inp2:p_ProductLink template="__default__" />#images"><inp2:m_Phrase label="lu_btn_MoreImages"/></a>
<br /><br />
</inp2:m_if>
<span class="product-price-large"><inp2:p_Field name="Price" currency="selected"/></span><br /><br />
<inp2:m_if check="p_Available">
<inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/>
<input class="button" onclick=" window.location.href='<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" />
</inp2:m_if>
<inp2:m_else />
<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
</inp2:m_if>
</td>
<td valign="top">
<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
<strong><inp2:m_phrase label="lu_Hits"/>:</strong> <inp2:p_field field="Hits"/><br />
<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_field field="CachedReviewsQty"/>
<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a><br />
<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:m_phrase label="lu_Votes"/>: <inp2:p_field field="CachedVotesQty"/>)
<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_RateThisProduct"/></a><br />
<br />
<inp2:m_if check="p_Field" name="SKU">
<strong><inp2:m_Phrase label="lu_fld_SKU"/>:</strong> <inp2:p_field name="SKU"/><br />
</inp2:m_if>
<inp2:m_if check="p_Field" name="ManufacturerId">
<strong><inp2:m_Phrase label="lu_fld_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
</inp2:m_if>
<inp2:m_if check="p_Field" name="MSRP">
<strong><inp2:m_Phrase label="lu_fld_MSRP"/>:</strong> <span class="product-price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
</inp2:m_if>
<strong><inp2:m_Phrase label="lu_fld_OurPrice"/>: <span class="product-price"><inp2:p_Field name="Price" currency="selected"/></span></strong> <br />
<inp2:m_if check="p_Savings">
<strong><inp2:m_Phrase label="lu_fld_YouSave"/>: <span class="product-price"><inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%)</span></strong><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>
</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="<inp2:m_TemplatesBase module="In-Commerce"/>img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow"/>" width="15" height="17" border="0" /></a>
+ <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 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>
<inp2:m_include template="in-commerce/elements/form_options.elm"/>
<inp2:m_if check="p_Field" name="Description">
<strong><inp2:m_Phrase label="lu_fld_Description"/>:</strong> <inp2:p_Field name="Description"/> <br />
</inp2:m_if>
<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_IsFavorite">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:p_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:p_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
</inp2:m_if>
</td>
</tr>
</table>
<br />
<inp2:m_if check="p_HasAdditionalImages">
<!--## ADDITIONAL IMAGE ELEMENT ##-->
<inp2:m_DefineElement name="additional_image_element">
<td>
<a href="<inp2:ImageSrc format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:m_param name="alt"/>">
<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 />
</a>
</td>
<inp2:m_if check="m_Param" name="not_last">
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
</td>
</inp2:m_if>
</inp2:m_DefineElement>
<!--## /ADDITIONAL IMAGE ELEMENT ##-->
<a name="images"></a>
<inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/>
<table>
<tr>
<inp2:p_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/>
</tr>
</table>
</inp2:m_if>
</td>
</tr>
</table>
</inp2:m_RenderElement>
<!-- // Product Details -->
</div>
<div class="movable-element">
<!-- Product Reviews -->
<inp2:m_DefineElement name="no_reviews">
<inp2:m_phrase name="lu_NoReviews"/>
</inp2:m_DefineElement>
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:p-rev_TotalRecords/>)
</inp2:m_Capture>
<table>
<inp2:p-rev_PrintList render_as="review_element"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="p-rev"/>
</inp2:m_RenderElement>
<!-- // Product Reviews -->
</div>
<div class="movable-element">
<a name="related"></a>
<inp2:m_include template="in-commerce/elements/content_boxes/related_products.elm"/>
<!--## RELATED TO PRODUCT ITEMS ##-->
<inp2:m_RenderElement design="content_box" related_to="Product" data_exists="1">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_RelatedItems"/>
</inp2:m_Capture>
<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" skip_prefixes="p" />
</inp2:m_RenderElement>
<!--## // RELATED TO PRODUCT ITEMS ##-->
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-commerce/products/add_review.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-commerce/products/add_review.tpl (revision 12339)
+++ branches/5.0.x/themes/default2009/in-commerce/products/add_review.tpl (revision 12340)
@@ -1,155 +1,155 @@
<!--##
<NAME>Product - Add Review</NAME>
<DESC>Add Product Review Form</DESC>
<SECTION>Platform||Products</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register" permissions="PRODUCT.REVIEW|PRODUCT.REVIEW.PENDING"/>
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:p_Field name="Name"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_ReviewProduct" templates="__default__,in-commerce/products/add_review" show_category="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_ProductDetails"/>
</inp2:m_Capture>
<table class="fullwidth table-border">
<tr><td class="item-padding">
<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/> <span class="text-title">
<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Field name="Name"/></a></span>
- <inp2:m_if check="p_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
- <inp2:m_if check="p_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
- <inp2:m_if check="p_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
- <inp2:m_if check="p_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
- <inp2:m_if check="p_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:m_if check="p_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="p_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="p_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="p_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="p_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:p_VotesIndicator render_as="rating_element"/>
<br />
<br />
<table>
<tr>
<td style="text-align: center; padding-right: 10px;" valign="top">
<!--## Check if image exists ##-->
<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
<a href="<inp2:p_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="product-images" target="_blank" title="<inp2:p_Field name='Name' html_escape='1'/>">
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
</a>
<!--## Check if image exists ##-->
<inp2:m_else/>
<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
</inp2:m_if>
<br />
</td>
<td valign="top">
<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
<strong><inp2:m_phrase label="lu_Hits"/>:</strong> <inp2:p_field field="Hits"/><br />
<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_field field="CachedReviewsQty"/>
<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:m_phrase label="lu_Votes"/>: <inp2:p_field field="CachedVotesQty"/>)
<br />
<inp2:m_if check="p_Field" name="ManufacturerId">
<strong><inp2:m_Phrase label="lu_fld_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
</inp2:m_if>
<inp2:m_if check="p_Field" name="MSRP">
<strong><inp2:m_Phrase label="lu_fld_MSRP"/>:</strong> <span class="product-price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
</inp2:m_if>
<strong><inp2:m_Phrase label="lu_fld_OurPrice"/>: <span class="product-price"><inp2:p_Field name="Price" currency="selected"/></span></strong> <br />
<inp2:m_if check="p_Savings">
<strong><inp2:m_Phrase label="lu_fld_YouSave"/>: <span class="product-price"><inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%)</span></strong><br/>
</inp2:m_if>
<br />
<inp2:m_if check="p_Field" name="DescriptionExcerpt">
<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:p_Field name="DescriptionExcerpt" nl2br="1"/><br/>
</inp2:m_if>
</td>
</tr>
</table>
</td></tr></table>
</inp2:m_RenderElement>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_ReviewThisProduct"/>
</inp2:m_Capture>
<inp2:m_if check="p_HasPermission" permissions="PRODUCT.REVIEW|PRODUCT.REVIEW.PENDING">
<inp2:m_if check="p-rev_AlreadyReviewed">
<inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/><br/><br/>
<table>
<inp2:p-rev_PrintList render_as="review_element" type="current_user"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="p-rev"/>
<inp2:m_else/>
<inp2:p-rev_PresetFormFields/>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="p-rev_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<form method="post" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_edit_radio" prefix="p-rev" field="Rating" title="lu_fld_Rating"/>
<inp2:m_RenderElement name="inp_edit_textarea" prefix="p-rev" field="ReviewText" rows="8" cols="40" title="lu_fld_ReviewText" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="hidden" name="success_template" value="in-commerce/products/add_review_confirm" />
<input type="hidden" name="success_pending_template" value="in-commerce/products/add_review_pending_confirm" />
<input class="button" type="submit" name="events[p-rev][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>" />
</inp2:m_RenderElement>
</table>
</form>
</inp2:m_if>
<inp2:m_else/>
<inp2:m_phrase name="lu_text_NoProductReviewPermission"/>
</inp2:m_if>
</inp2:m_RenderElement>
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/5.0.x/themes/default2009/in-commerce/checkout/shop_cart.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-commerce/checkout/shop_cart.tpl (revision 12339)
+++ branches/5.0.x/themes/default2009/in-commerce/checkout/shop_cart.tpl (revision 12340)
@@ -1,325 +1,325 @@
<!--##
<NAME>Shopping cart</NAME>
<DESC>Shopping cart page</DESC>
<SECTION>Platform||Checkout</SECTION>
##-->
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_Phrase label="lu_title_ShoppingCart"/><inp2:m_if check="orditems_TotalRecords"> (<inp2:orditems_TotalRecords/>)</inp2:m_if>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/checkout_steps.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ShoppingCart" templates="in-commerce/checkout/shop_cart"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_Phrase label="lu_title_ShoppingCart"/><inp2:m_if check="orditems_TotalRecords"> (<inp2:orditems_TotalRecords/>)</inp2:m_if>
</inp2:m_Capture>
<form method="post" action="<inp2:m_FormAction />">
<inp2:m_if check="ord_CartHasError">
<table class="warning-message fullwidth">
<tr>
<td width="30">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/warning_icon.gif" width="21" height="18" alt=""/>
</td>
<td>
<inp2:m_phrase name="lu_Warning"/>
</td>
</tr>
</table>
<br />
<inp2:ord_CheckoutError state_changed="lu_comm_msg_state_changed" qty_unavailable="lu_comm_msg_qty_unavailable" outofstock="lu_comm_msg_outofstock"
coupon_applied="lu_comm_CouponApplied"
gift_certificate_applied="lu_comm_GiftCertificateApplied"
invalid_code="lu_comm_invalid_code" code_expired="lu_comm_code_expired"
min_qty="lu_min_qty_error" code_removed="lu_comm_CouponRemoved"
gc_code_removed="lu_comm_GiftCertificateRemoved"
code_removed_automatically="lu_comm_CouponIsNotEffective"
gc_code_removed_automatically="lu_comm_GiftCertificateIsNotEffective"
changed_after_login="lu_comm_CartChangedAfterLogin" /><br /><br />
</inp2:m_if>
<table class="fullwidth">
<inp2:m_DefineElement name="shop_cart_header">
<tr>
<td colspan="5">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
<tr class="sub-section-header">
<td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
<td width="60"><inp2:m_Phrase label="lu_comm_YourPrice"/></td>
<td width="50"><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
<td width="50"><inp2:m_Phrase label="lu_comm_Total"/></td>
<td width="25"> </td>
</tr>
<tr>
<td colspan="5">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_include template="in-commerce/elements/options_blocks.elm"/>
<inp2:m_DefineElement name="shop_cart_item">
<tr>
<td class="shopping-cart-cell-item-padding">
<table>
<tr>
<td class="shopping-cart-icpn-padding-right">
<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" width="16" height="14" alt="" />
</td>
<td>
<inp2:m_if check="FieldEquals" field="Virtual" value="0">
<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a>
<inp2:m_if check="ord_FreePromoShippingAvailable"> <sup><inp2:m_phrase label="lu_cart_FreeShippingAvailable" /></sup>
</inp2:m_if>
<inp2:m_else/>
<inp2:Field name="Name" />
</inp2:m_if>
<inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if>
<inp2:m_if check="HasOptions">
<br/>
<span style="font-size: 8pt">
<inp2:m_if check="DisplayOptionsPricing">
<inp2:PrintOptions render_as="option_element" currency="selected"/>
<inp2:m_else/>
<inp2:PrintOptions render_as="option_element_no_price" currency="selected"/>
</inp2:m_if>
<inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0">
<a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a>
</inp2:m_if>
</span>
</inp2:m_if>
<inp2:m_if check="p_CustomField" name="Availability">
<br />
<inp2:p_CustomField name="Availability"/>
</inp2:m_if>
<inp2:m_if check="HasDiscount">
<br />
<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
<inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1"><inp2:Field name="ItemDiscount" currency="selected" negative="1" /></span>
<!--<a href="javascript:showDiscountInfo('<inp2:ord_DiscountHelpLink template="in-commerce/checkout/discount_info" />')">[?]</a>-->
</inp2:m_if>
</td>
</tr>
</table>
</td>
<td class="shopping-cart-cell-item-padding"><strong><inp2:Field name="Price" currency="selected"/></strong></td>
<td class="shopping-cart-cell-item-padding">
<inp2:m_if check="IsTangible">
<inp2:m_if check="m_ModuleEnabled" module="In-Auction">
<inp2:m_if check="ebay-sections_IseBayItem">
<inp2:Field field="Quantity"/>
<inp2:m_else />
<input value="<inp2:Field field="Quantity"/>" style="width:20px" class="input-text" name="<inp2:InputName field="Quantity"/>" />
</inp2:m_if>
<inp2:m_else />
<input value="<inp2:Field field="Quantity"/>" style="width:20px" class="input-text" name="<inp2:InputName field="Quantity"/>" />
</inp2:m_if>
<!--<inp2:m_if check="ProductsInStock">
<inp2:m_Phrase name="lu_of"/> <inp2:ProductsInStock/>
</inp2:m_if>-->
<inp2:m_else />
1
</inp2:m_if>
</td>
<td class="shopping-cart-cell-item-padding"><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td>
<td class="shopping-cart-cell-item-padding" align="center">
<inp2:m_if check="m_ModuleEnabled" module="In-Auction">
<inp2:m_if check="ebay-sections_IseBayItem">
<inp2:m_else />
<a href="<inp2:LinkRemoveFromCart/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="Delete" alt="Delete" width="8" height="10" border="0" /></a>
</inp2:m_if>
<inp2:m_else />
<a href="<inp2:LinkRemoveFromCart/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="Delete" alt="Delete" width="8" height="10" border="0" /></a>
</inp2:m_if>
</td>
</tr>
<tr>
<td colspan="5">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="shop_cart_footer">
</table>
<table width="100%">
<tr >
<td class="cart-subtotal">
<table width="100%">
<inp2:m_if check="ord_HasDiscount">
<tr>
<td>
<strong><inp2:m_Phrase label="lu_comm_TotalSavings" />:</strong>
</td>
<td>
<span class="price1"><strong><inp2:ord_Field name="DiscountTotal" currency="selected" /></strong></span>
</td>
</tr>
<tr>
<td colspan="2">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" />
</td>
</tr>
</inp2:m_if>
<inp2:m_if check="ord_Field" name="CouponId">
<tr>
<td>
<inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />:
</td>
<td>
<inp2:ord_Field field="CouponName" />
- <a href="<inp2:ord_RemoveCouponLink type="coupon"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="<inp2:m_Phrase label="lu_comm_RemoveCoupon"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveCoupon"/>" width="8" height="10" border="0" /></a>
+ <a href="<inp2:ord_RemoveCouponLink type="coupon"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="<inp2:m_Phrase label="lu_comm_RemoveCoupon"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveCoupon" no_editing="1"/>" width="8" height="10" border="0" /></a>
</td>
</tr>
<inp2:m_else />
<tr>
<td><inp2:m_Phrase label="lu_comm_EnterCouponCode" />: </td>
<td><input size="15" class="input-text" name="coupon_code" /></td>
</tr>
</inp2:m_if>
<tr>
<td colspan="2">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="3" alt="" />
</td>
</tr>
<inp2:m_if check="ord_Field" name="GiftCertificateId">
<tr>
<td><inp2:m_Phrase label="lu_comm_GiftCertificateHasBeenApplied" />: </td>
<td>
<inp2:ord_Field field="GiftCertificateDiscount" currency="selected" />
- <a href="<inp2:ord_RemoveCouponLink type="gift_certificate"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate"/>" width="8" height="10" border="0" /></a>
+ <a href="<inp2:ord_RemoveCouponLink type="gift_certificate"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate" no_editing="1"/>" width="8" height="10" border="0" /></a>
</td>
</tr>
<inp2:m_else />
<tr>
<td><inp2:m_Phrase label="lu_comm_EnterGiftCertificateCode" />: </td>
<td><input size="15" class="input-text" name="giftcert_code" /></td>
</tr>
</inp2:m_if>
</table>
</td>
<td class="cart-subtotal" align="right">
<span class="cart-subtotal-text"><inp2:m_Phrase label="lu_comm_Subtotal"/>: <inp2:ord_Field field="SubtotalWithDiscount" currency="selected"/></span>
</td>
</tr>
<tr>
<td colspan="2">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="2" alt="" /><br />
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
<input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" />
<tr>
<td class="shopping-cart-button-padding">
<input class="button" type="submit" name="events[ord][OnUpdateCart]" value="<inp2:m_Phrase label="lu_comm_UpdateCart" no_editing="1"/>" />
<input class="button" type="submit" name="events[ord][OnCleanupCart]" onclick="return confirm('<inp2:m_Phrase label="lu_comm_ClearCartConfirmation" />')" value="<inp2:m_Phrase label="lu_comm_CleanupCart" no_editing="1"/>" />
</td>
<td class="shopping-cart-button-padding" align="right">
<input type="hidden" name="continue_shopping_template" value="__default__"/>
<input class="button" type="submit" name="events[ord][OnContinueShopping]" value="<inp2:m_Phrase label="lu_comm_Continue_Shopping" no_editing="1"/>">
<input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_comm_ProceedCheckout" no_editing="1"/>" />
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="shop_cart_empty">
<tr>
<td>
<strong><inp2:m_Phrase label="lu_comm_YourCartIsEmpty"/></strong>
</td>
</tr>
</inp2:m_DefineElement>
<script language="JavaScript">
function showDiscountInfo(url)
{
window.open(url, null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150');
}
</script>
<inp2:ord_PrintCart item_render_as="shop_cart_item" header_render_as="shop_cart_header" footer_render_as="shop_cart_footer" empty_cart_render_as="shop_cart_empty" per_page="-1"/>
</table>
</form>
<inp2:m_if check="ord_CartNotEmpty">
<inp2:m_if check="ord_HasPaymentGateway" name="Google Checkout">
<inp2:m_DefineElement name="google_checkout_button">
<form method="POST" target="_blank" action="<inp2:ord_GetFormAction payment_type_id="$payment_type_id"/>">
<inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success"
cancel_template="in-commerce/checkout/billing"
payment_type_id="$payment_type_id"/>
<inp2:m_if check="m_Param" name="submit_url" equals_to="https://checkout.google.com/api/checkout/v2">
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="https://checkout.google.com/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/>
&w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180">
<inp2:m_else/>
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="http://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/>
&w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180">
</inp2:m_if>
</form>
</inp2:m_DefineElement>
<inp2:ord_DisplayPaymentGateway name="Google Checkout" render_as="google_checkout_button"/>
</inp2:m_if>
</inp2:m_if>
</inp2:m_RenderElement>
</div>
<div class="movable-element">
<inp2:m_if check="ord_CartIsEmpty">
<inp2:m_include template="in-commerce/elements/content_boxes/pick_products.elm"/>
</inp2:m_if>
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
Index: branches/5.0.x/themes/default2009/in-commerce/elements/products.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-commerce/elements/products.elm.tpl (revision 12339)
+++ branches/5.0.x/themes/default2009/in-commerce/elements/products.elm.tpl (revision 12340)
@@ -1,386 +1,386 @@
<!--## 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"/>"/></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"/>"/></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"/>"/></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"/>"/></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"/>"/></inp2:m_if>
+ <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=""/>"/></a>
+ <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>
|
<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"/>"/></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"/>"/></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"/>"/></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"/>"/></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"/>"/></inp2:m_if>
+ <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"/>"/></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"/>"/></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"/>"/></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"/>"/></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"/>"/></inp2:m_if>
+ <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"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></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"/>"/></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"/>"/></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"/>"/></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"/>"/></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"/>"/></inp2:m_if>
+ <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>
|
<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
Log In to Comment