Page MenuHomeIn-Portal Phabricator

modern-store
No OneTemporary

File Metadata

Created
Tue, Apr 29, 7:44 PM

modern-store

Index: branches/1.0.x/products/details.tpl
===================================================================
--- branches/1.0.x/products/details.tpl (revision 14771)
+++ branches/1.0.x/products/details.tpl (revision 14772)
@@ -1,236 +1,236 @@
<!--##
<NAME>Products - Details Design</NAME>
<DESC>General design template for Product Details</DESC>
<SECTION>Pages||Products</SECTION>
##-->
<inp2:p_AddToRecent />
<inp2:m_DefineElement name="page_title"><inp2:p_Field name="Name" html_escape="1"/></inp2:m_DefineElement>
<inp2:m_DefineElement name="sidebar">
<inp2:m_Include template="elements/side_boxes/related_products.elm" data_exists="1"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="before_content">
<div class="block-fixed">
<div>
<a href="<inp2:p_AddToCartLink template='checkout/cart' product_template='__default__'/>" class="button-addtocart"><span><img src="<inp2:m_TemplatesBase/>img/bg-button-cart-add.png" width="24" height="24" alt="" /><i>Add to Cart</i></span></a>
</div>
</div>
</inp2:m_DefineElement>
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<inp2:rev_InitList main_list="1"/>
<div class="block no-border-bottom">
<inp2:m_Include template="elements/navigation_bar.elm" navigation_buttons="1"/>
<div class="goods border-radius product-detail">
<inp2:m_if check="p_Field" name="IsNew" db="db">
<div class="ribbon new"></div>
<inp2:m_elseif check="p_Field" name="IsPop" db="db"/>
<div class="ribbon top"></div>
<inp2:m_elseif check="p_Field" name="Featured" db="db"/>
<div class="ribbon sale"></div>
</inp2:m_if>
<h1><inp2:p_Field field="Name" html_escape="1"/></h1>
<div class="rating">
<inp2:p_VotesIndicator/>
<!--<inp2:m_if check="p_Field" name="CachedRating" equals_to="1|2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>
<inp2:m_if check="p_Field" name="CachedRating" equals_to="5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-small.jpg" width="18" height="18" alt="" />
</inp2:m_if>-->
</div>
<div class="h1-reviews">(<a href="#reviews"><inp2:rev_TotalRecords/> reviews</a>)</div>
<div class="clear"></div>
<div class="product">
<div class="info">
<div class="img">
<p class="signsmall">Roll over images for multiple views:</p>
<ul id="pikame" >
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good1.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good2.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
<li><img src="<inp2:m_TemplatesBase />img/samples/good-details.jpg" width="256" height="258" alt="" /></li>
</ul>
<div class="viewlarger">
<a href="" onclick="TINY.box.show({image:'<inp2:m_TemplatesBase />img/samples/good-details-big.jpg',animate:true}); return false;">View Larger</a>
</div>
<p class="showmore"><a href="#">Show More Images...</a></p>
</div>
<div class="doplinks">
<a href="#" class="link-print">Print this Page</a><br />
<a href="#" class="link-compare">Compare to other Products</a><br />
<a href="#" class="link-wishlist">Add to Wishlist</a><br />
</div>
</div>
<div class="description">
<div class="options-har">
<div class="sel-options">
<label><strong>Select Size:</strong>
<select name="select" class="field-alt">
<option value="" selected="selected">22"</option>
<option value="">23"</option>
</select>
</label>
</div>
<div class="sel-options">
<label><strong>Select Color:</strong>
<select name="select" class="field-alt">
<option value="" selected="selected">Gray Metallic</option>
<option value="">White Metallic</option>
<option value="">Black Metallic</option>
</select>
</label>
</div>
<div class="clear"></div>
</div>
<div class="price-block">
<p><s class="under"><inp2:p_Field name="MSRP" currency="selected" decimal_tag="span"/></s></p>
<p class="redprice"><em class="price"><inp2:p_Field name="Price" currency="selected" decimal_tag="span"/></em></p>
</div>
<div class="order-block">
<p class="qty form"><strong>Qty.</strong>&nbsp;&nbsp;<input type="text" name="qty" value="1" class="field" /></p>
<p class="but"><a href="<inp2:p_AddToCartLink template='checkout/cart' product_template='__default__'/>" class="addtocart"><span><i>Add to Cart</i></span></a></p>
<p class="avail">Availability: <em>In Stock</em></p>
</div>
<div class="clear"></div>
<dl class="har">
<dt>Model:</dt>
<dd>XT2324</dd>
<dt>Manufacturer:</dt>
<dd><inp2:p_Field name="ManufacturerId"/></dd>
</dl>
<dl class="har">
<dt>SKU:</dt>
<dd><inp2:p_Field name="SKU"/></dd>
<dt>Size:</dt>
<dd>22''</dd>
</dl>
<div class="clear"></div>
<div class="text">
</div>
<div id="tabs">
<ul>
<inp2:m_if check="p_Field" name="cust_Features">
<li><a href="#tabs-1">Features</a></li>
</inp2:m_if>
<inp2:m_if check="p_Field" name="Description">
<li><a href="#tabs-2">Details</a></li>
</inp2:m_if>
<li><a href="#tabs-3">Specifications</a></li>
</ul>
<inp2:m_if check="p_Field" name="cust_Features">
<div id="tabs-1">
<inp2:p_Field name="cust_Features"/>
</div>
</inp2:m_if>
<inp2:m_if check="p_Field" name="Description">
<div id="tabs-2">
<inp2:p_Field name="Description"/>
</div>
</inp2:m_if>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="reviews">
<a name="reviews"></a>
<div class="top-review">
<div class="info-review">
- <p class="title">Reviews for <inp2:p_Field name="Name"/> (<inp2:rev_TotalRecords/>):</p>
+ <p class="title">Reviews for <inp2:p_Field name="Name" html_escape="1" cut_first="60"/> (<inp2:rev_TotalRecords/>):</p>
<!--<p class="but-review"><a href="" onclick="TINY.box.show({iframe:'addreview-success.html',width:600,height:340}); return false;" class="addreview">Add a Review</a></p>-->
<p class="but-review"><a href="<inp2:p_ProductLink template='products/add_review' width='600' height='340'/>" class="thickbox addreview">Add a Review</a></p>
<div class="sortby">
Sort by:
<select>
<option value="" selected="selected">Price</option>
<option value="">Rating</option>
<option value="">Populate</option>
</select>
</div>
</div>
<div class="overall-review">
<p>Overall Rating:</p>
<div class="overall-detail">
<inp2:rev_PrintRatingPercents render_as="rating_percent_element" show_none="0"/>
</div>
</div>
<div class="clear"></div>
</div>
<inp2:rev_PrintList render_as="review_element"/>
</div>
<div class="clear"></div>
<inp2:m_Include template="elements/pagination.elm" prefix="rev"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<inp2:m_DefineElement name="add_to_head">
<script src="<inp2:m_TemplatesBase />inc/js/jquery.gzoom.js"></script>
<script src="<inp2:m_TemplatesBase />inc/js/jquery.pikachoose.full.js"></script>
<script type= "text/javascript">
/*<![CDATA[*/
$(function() {
$("#tabs").tabs();
$("#pikame").PikaChoose({autoPlay:false, showCaption:false});
});
window.onload= function () {
$("#zoom").gzoom({
sW: 258,
sH: 258,
lW: 1400,
lH: 1050,
lighbox : false
});
};
/*]]>*/
</script>
</inp2:m_DefineElement>
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="designs/default_design.des" pass_params="1" right_column="sidebar" before_content="before_content"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/designs/section.tpl
===================================================================
--- branches/1.0.x/designs/section.tpl (revision 14771)
+++ branches/1.0.x/designs/section.tpl (revision 14772)
@@ -1,96 +1,94 @@
<!--##
<NAME>Products - Section Template</NAME>
<DESC>Product Category</DESC>
<SECTION></SECTION>
##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_include template="elements/title_bar.elm"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="sidebar">
<inp2:m_Include template="elements/side_boxes/categories.elm" data_exists="1"/>
<inp2:m_Include template="elements/side_boxes/filter_range.elm"/>
<inp2:m_Include template="elements/side_boxes/filter_dropdown.elm"/>
<inp2:m_Include template="elements/side_boxes/filter_checkboxes.elm"/>
<inp2:m_Include template="elements/side_boxes/subscribe.elm"/>
</inp2:m_DefineElement>
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="block no-border-bottom" style="margin-bottom:0;">
<inp2:m_Include template="elements/navigation_bar.elm"/>
<inp2:m_Include template="elements/content_boxes/categories.elm" data_exists="1" />
</div>
<inp2:m_Cache key="prefix:p;currency;guest_only">
- <inp2:m_Include template="elements/product_elements.elm" strip_nl="2"/>
-
<inp2:m_Include template="elements/content_boxes/products.elm" list_name="products_in_category" prefix="p" data_exists="1" />
</inp2:m_Cache>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<inp2:m_DefineElement name="add_to_head">
<script>
$(function() {
var icons = {
header: "ui-icon-circle-arrow-e",
headerSelected: "ui-icon-circle-arrow-s"
};
var level2icons = {
header: "ui-icon-circle-arrow-l2e",
headerSelected: "ui-icon-circle-arrow-l2s"
};
var level3icons = {
header: "ui-icon-circle-arrow-l3e",
headerSelected: "ui-icon-circle-arrow-l3s"
};
$( "#accordion-menu" ).accordion({
icons: icons
});
$( "#level2-menu" ).accordion({
icons: level2icons
});
$( ".level3-menu" ).accordion({
icons: level3icons,
header: 'h4',
autoHeight: false,
event: "mouseover"
});
$("a.switch_thumb").toggle(function(){
$(this).addClass("swap");
$("ul.display").fadeOut("fast", function() {
$("div.items").removeClass("border-radius").addClass("items-alt");
$(this).fadeIn("fast").addClass("thumb_view");
});
}, function () {
$(this).removeClass("swap");
$("ul.display").fadeOut("fast", function() {
$("div.items").addClass("border-radius").removeClass("items-alt");
$(this).fadeIn("fast").removeClass("thumb_view");
});
});
$( "#slider-vertical" ).slider({
orientation: "vertical",
range: true,
min: 0,
max: 1000,
step: 100,
values: [ 0, 400 ]
});
});
</script>
</inp2:m_DefineElement>
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="designs/default_design.des" pass_params="1" left_column="sidebar"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/designs/default_design.des.tpl
===================================================================
--- branches/1.0.x/designs/default_design.des.tpl (revision 14771)
+++ branches/1.0.x/designs/default_design.des.tpl (revision 14772)
@@ -1,78 +1,79 @@
<inp2:m_CheckSSL/><inp2:m_DefaultParam columns="2"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<inp2:lang.current_Field name='Locale' db='1'/>">
<html>
<head>
<!--## includes system elements ##-->
<inp2:m_Include template="elements/forms.elm" strip_nl="2"/>
<inp2:m_Include template="elements/content_boxes.elm" strip_nl="2"/>
+ <inp2:m_Include template="elements/product_elements.elm" strip_nl="2"/>
<title><inp2:m_RenderElement name="page_title" default_element="default_page_title" no_editing="1"/></title>
<link rel="stylesheet" rev="stylesheet" href="<inp2:m_Compress from='all_css'/>" type="text/css" />
<inp2:m_Include template="elements/html_head.elm" strip_nl="2"/>
<!--## <script type="text/javascript" src="<inp2:m_Compress from='all_js'/>"></script> ##-->
<inp2:m_RenderElement name="add_to_head" default_element="default_add_to_head"/>
</head>
<body>
<!--## System tag please do not remove ##-->
<inp2:st_EditPage mode="start"/>
<inp2:m_Include template="elements/header.elm" />
<inp2:m_Include template="elements/menu.elm" />
<div id="content">
<div class="padding">
<inp2:m_if check="m_Param" name="before_content">
<inp2:m_RenderElement name="$before_content" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="left_column">
<div class="leftcol">
<inp2:m_RenderElement name="$left_column" />
</div>
<div class="contentcol">
<inp2:m_RenderElement name="content" />
</div>
<inp2:m_elseif check="m_Param" name="right_column" />
<div class="contentcol">
<inp2:m_RenderElement name="content" />
</div>
<div class="rightcol">
<inp2:m_RenderElement name="$right_column" />
</div>
<inp2:m_else/>
<inp2:m_RenderElement name="content"/>
</inp2:m_if>
<div class="clear"></div>
</div>
</div>
<inp2:m_Include template="elements/footer_menu.elm" />
<inp2:m_Include template="elements/footer.elm" />
<inp2:st_EditPage mode="end"/> <!--## /System tag please do not remove ##-->
<inp2:m_Include template="elements/tracking.elm" />
<inp2:m_RenderElement name="add_to_footer" default_element="default_add_to_footer"/>
</body>
</html>
\ No newline at end of file
Index: branches/1.0.x/elements/side_boxes/picks.elm.tpl
===================================================================
--- branches/1.0.x/elements/side_boxes/picks.elm.tpl (revision 14771)
+++ branches/1.0.x/elements/side_boxes/picks.elm.tpl (revision 14772)
@@ -1,14 +1,14 @@
<inp2:m_Cache key="prefix:p;currency;guest_only">
<inp2:p_InitList list_name="pick_products" types="pick" parent_cat_id="0" recursive="1" per_page="short_list"/>
<div class="block no-border-bottom">
<h2><em>Our Favorites</em><span class="pick"></span></h2>
<div class="good-item border-radius-bottom">
<dl>
- <inp2:p_ListProducts list_name="pick_products" render_as="product_sidebox_element" no_table="1"/>
+ <inp2:p_ListProducts list_name="pick_products" render_as="sidebox_product_element" no_table="1"/>
</dl>
</div>
</div>
</inp2:m_Cache>
\ No newline at end of file
Index: branches/1.0.x/elements/content_boxes.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes.elm.tpl (revision 14771)
+++ branches/1.0.x/elements/content_boxes.elm.tpl (revision 14772)
@@ -1,122 +1,122 @@
<!--## DEFAULT CONTENT-TOP ELEMENT ##-->
<inp2:m_DefineElement name="default_content_banner" no_editing="1">
<!-- default banners -->
<inp2:st_ContentBlock num="101" page="index"/>
<!-- //default banners -->
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_page_title"><inp2:m_GetConfig name="Site_Name"/> &mdash; <inp2:st_PageInfo type="htmlhead_title"/></inp2:m_DefineElement>
<inp2:m_DefineElement name="default_add_to_footer" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_add_to_head" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_sidebar" no_editing="1">
</inp2:m_DefineElement>
<inp2:m_DefineElement name="default_page_title">
<inp2:st_PageInfo type="htmlhead_title"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="image_element">
- <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" /> align="<inp2:m_param name="align"/>" />
+ <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" /> />
</inp2:m_DefineElement>
<inp2:m_DefineElement name="content_box" content_class="" header_class="">
<h2 class="<inp2:m_Param name='header_class'/>"><inp2:m_param name="header"/></h2>
<div class="<inp2:m_Param name='content_class'/>">
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<!--## Unused for now
<inp2:m_DefineElement name="side_box" add_class="">
<div class="block <inp2:m_Param name='add_class'/>">
<h2><inp2:m_param name="header"/></h2>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="side_box_custom" add_class="">
<div class="<inp2:m_Param name='add_class'/>">
<h4><inp2:m_param name="header"/></h4>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="content_box_scrollable" add_class="">
<div class="block no-border-bottom<inp2:m_Param name='add_class'/>">
<h2><inp2:m_param name="header"/></h2>
<inp2:m_param name="content"/>
</div>
</inp2:m_DefineElement>
##-->
<inp2:m_DefineElement name="rating_percent_element">
<i><inp2:m_Param name="percent"/>%</i>
<span>
<inp2:m_if check="m_Param" name="rating" equals_to="1|2|3|4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="2|3|4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="3|4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="4|5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="m_Param" name="rating" equals_to="5">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
</span><br/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="review_element">
<div class="row-review">
<p class="user"><inp2:Field name="ReviewedBy"/></p>
<div class="text-review"><inp2:Field name="ReviewText"/></div>
<div class="optional-review">
<p>Was this review helpful to you?&nbsp;&nbsp;<a href="<inp2:HelpfulLink helpful='1'/>" class="yes">Yes</a>&nbsp;&nbsp;<em>(<inp2:Field name="HelpfulCount"/>)</em>&nbsp;&nbsp;<a href="<inp2:HelpfulLink helpful='0'/>" class="no">No</a>&nbsp;&nbsp;<em>(<inp2:Field name="NotHelpfulCount"/>)</em></p>
<p><a href="#">Is this Review Inappropriate?</a></p>
<inp2:m_if check="Field" name="Rating" db="db">
<p class="rat">
Rating:
<inp2:m_if check="Field" name="Rating" equals_to="1|2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="2|3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="3|4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="4|5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
<inp2:m_if check="Field" name="Rating" equals_to="5" db="db">
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</inp2:m_if>
</p>
</inp2:m_if>
<p class="date"><strong><inp2:DateField name="CreatedOn" format="F j, Y"/></strong></p>
</div>
</div>
</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/product_elements.elm.tpl
===================================================================
--- branches/1.0.x/elements/product_elements.elm.tpl (revision 14771)
+++ branches/1.0.x/elements/product_elements.elm.tpl (revision 14772)
@@ -1,53 +1,53 @@
<inp2:m_DefineElement name="product_list_element">
<li>
<div class="item">
<inp2:m_if check="Field" name="IsNew">
<div class="ribbon new"></div>
<inp2:m_elseif check="Field" name="IsPop" />
<div class="ribbon top"></div>
<inp2:m_elseif check="Field" name="Featured" db="1" />
<div class="ribbon sale"></div>
</inp2:m_if>
<div class="img">
<a href="<inp2:ProductLink template='__default__'/>"><inp2:Image render_as="image_element" Primary="1" Thumbnail="1" DefaultImage="img/no_picture.gif" MaxWidth="69" MaxHeight="69"/></a>
</div>
<div class="descr">
<h3><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1"/></a></h3>
<p><inp2:Field field="Description" html_escape="1" cut_first="200"/></p>
<div class="optional">
<span class="stars">
<!--##
<inp2:VotesIndicator render_as="rating_element"/>
##-->
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
<img src="<inp2:m_TemplatesBase/>img/star-smallest.jpg" width="13" height="13" alt="" />
</span>
<span class="reviews">
<a href="<inp2:ProductLink template='__default__'/>">Reviews</a> (<a href="<inp2:ProductLink template='__default__'/>"><inp2:Field name="CachedReviewsQty"/></a>)&nbsp;&nbsp;&nbsp;
</span>
<span class="comp">
<label><input type="checkbox" name="compare-1" value="1" /><em>Compare</em></label>
</span>
</div>
</div>
<div class="price-block">
<p><s class="under"><inp2:Field name="MSRP" currency="selected" decimal_tag="span"/></s></p>
<p class="redprice"><em class="price"><inp2:Field name="Price" currency="selected" decimal_tag="span"/></em></p>
<p><a href="<inp2:AddToCartLink template='checkout/cart' product_template='__default__'/>" class="addtocart"><span>Add to Cart</span></a></p>
</div>
</div>
</li>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="sidebox_product_element">
- <dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1"/></a></dt>
+ <dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1" cut_first="45"/></a></dt>
<dd>
<p class="img"><a href="<inp2:ProductLink template='__default__'/>"><inp2:Image render_as="image_element" Primary="1" Thumbnail="1" DefaultImage="img/no_picture.gif" MaxWidth="136" MaxHeight="136"/></a></p>
<p class="price"><inp2:Field name="Price" currency="selected" decimal_tag="span"/></p>
<p><a href="<inp2:AddToCartLink template='checkout/cart' product_template='__default__'/>" class="addtocart"><span>Add to Cart</span></a></p>
</dd>
</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/header.elm.tpl
===================================================================
--- branches/1.0.x/elements/header.elm.tpl (revision 14771)
+++ branches/1.0.x/elements/header.elm.tpl (revision 14772)
@@ -1,85 +1,83 @@
<div id="header">
<div class="logo">
<a href="<inp2:m_Link template="index" m_cat_id="0" />"><img src="<inp2:m_TemplatesBase/>img/logo.jpg" width="238" height="79" alt="<inp2:m_GetConfig name="Site_Name"/>" /></a>
<inp2:st_ContentBlock num="100" page="index"/>
</div>
<div class="infoblock">
<div class="welcome">
<div class="lang">
<div <inp2:m_if check="lang.current_Field" name="IconURL">class="with-icon" style="background-image: url(<inp2:m_TemplatesBase/>img/lang/<inp2:lang.current_Field name='IconURL'/>);"<inp2:m_else/>class="without-icon"</inp2:m_if>>
<a href="#" id="lang"><inp2:lang.current_Field name='LocalName'/></a>
</div>
<div id="lang-sel" class="plashka">
<ul>
<inp2:m_DefineElement name="lang_elem" no_editing="1">
<li>
<inp2:m_if check="Field" name="IconURL">
<a href="<inp2:LanguageLink/>" style="background-image: url(<inp2:m_TemplatesBase/>img/lang/<inp2:Field name='IconURL'/>);" class="with-icon<inp2:m_if check='SelectedLanguage'> active</inp2:m_if>">
<inp2:Field name="LocalName"/>
</a>
<inp2:m_else/>
<a href="<inp2:LanguageLink/>" class="without-icon<inp2:m_if check='SelectedLanguage'> active</inp2:m_if>">
<inp2:Field name="LocalName"/>
</a>
</inp2:m_if>
</li>
</inp2:m_DefineElement>
<inp2:lang_ListLanguages render_as="lang_elem" no_table="1"/>
</ul>
</div>
</div>
<div class="currency">
<div class="cur">
<a href="<inp2:curr.current_CurrencyLink/>" id="currency"><inp2:curr.current_Field name="ISO"/></a>
</div>
<div id="currency-sel" class="plashka">
<ul>
<inp2:m_DefineElement name="currency_elem">
<li>
<a href="<inp2:CurrencyLink/>"<inp2:m_if check='SelectedCurrency'> class="active"</inp2:m_if>>
<inp2:Field name="ISO"/>
</a>
</li>
</inp2:m_DefineElement>
<inp2:curr_ListCurrencies render_as="currency_elem" no_table="1"/>
</ul>
</div>
</div>
<inp2:m_include template="elements/login.elm"/>
</div>
<div class="cart">
- <span class="phone" style="<inp2:m_ifnot check="ord_ItemsInCart">padding-right:338px;</inp2:m_ifnot>">1-855-WWW-PROS</span>
- <inp2:m_if check="ord_ItemsInCart">
- <span class="items"><inp2:ord_ItemsInCart/> Items: $1,759<i>.99</i></span>
+ <span class="phone">1-855-WWW-PROS</span>
+ <span class="items"><inp2:ord_ItemsInCart/> Items: <inp2:ord_Field name="TotalAmount" currency="selected" decimal_tag="i"/></span>
<span class="delim">|</span>
<a href="<inp2:m_Link template='checkout/cart' m_cat_id='0' m_cat_page='1'/>">Checkout</a>
- </inp2:m_if>
</div>
<!-- Show recently added Product by loading content with Ajax -->
- <div class="basketStatus" style="display:none;">
+ <div class="basketStatus" style="">
<div class="basketArrow"></div>
<div class="basketContent">
<p class="subtitle">Added to cart:</p>
<div class="img">
<img src="<inp2:m_TemplatesBase />img/samples/good5.jpg" width="58" height="58" alt="" />
</div>
<div class="info good-item">
<p>2 x Apple iMac Desktop Customizable</p>
<p class="price">$759.<span>95</span></p>
</div>
<div class="clear"></div>
</div>
</div>
<!-- end -->
</div>
<div class="clear"></div>
</div>
Index: branches/1.0.x/elements/content_boxes/special_deals.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes/special_deals.elm.tpl (revision 14771)
+++ branches/1.0.x/elements/content_boxes/special_deals.elm.tpl (revision 14772)
@@ -1,30 +1,30 @@
<inp2:m_Cache key="prefix:p;currency;guest_only">
<inp2:p_InitList list_name="featured_products" types="featured" parent_cat_id="0" recursive="1" per_page="10" sort_by="random"/>
<inp2:m_DefineElement name="featured_product_element">
<div class="good-item good-item-float">
<dl>
- <dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1"/></a></dt>
+ <dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1" cut_first="45"/></a></dt>
<dd>
<p class="img"><a href="<inp2:ProductLink template='__default__'/>"><inp2:Image render_as="image_element" Primary="1" Thumbnail="1" DefaultImage="img/no_picture.gif" MaxWidth="136" MaxHeight="136"/></a></p>
<p class="price-deal"><s class="under"><inp2:Field name="MSRP" currency="selected" decimal_tag="span"/></s><em class="price"><inp2:Field name="Price" currency="selected" decimal_tag="span"/></em></p>
<p><a href="<inp2:AddToCartLink template='checkout/cart' product_template='__default__'/>" class="addtocart"><span>Add to Cart</span></a></p>
</dd>
</dl>
</div>
</inp2:m_DefineElement>
<div class="block block-margin no-border-bottom">
<h2><em>Special Deals</em><span class="sale"></span></h2>
<div id="scrollable">
<div class="items">
<inp2:p_ListProducts list_name="featured_products" render_as="featured_product_element" no_table="1"/>
<div class="clear"></div>
</div>
</div>
</div>
</inp2:m_Cache>
\ No newline at end of file
Index: branches/1.0.x/elements/content_boxes/new_products.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes/new_products.elm.tpl (revision 14771)
+++ branches/1.0.x/elements/content_boxes/new_products.elm.tpl (revision 14772)
@@ -1,26 +1,26 @@
<inp2:m_Cache key="prefix:p;currency;guest_only">
<inp2:p_InitList list_name="new_products" types="featured" parent_cat_id="0" recursive="1" per_page="12" sort_by="random"/>
<inp2:m_DefineElement name="product_new_element">
<div class="good-item good-item-narrow <inp2:m_if check='m_Param' name='is_last'>good-item-narrow-last </inp2:m_if>good-item-float border-radius">
<dl>
- <dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1"/></a></dt>
+ <dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1" cut_first="32"/></a></dt>
<dd>
<p class="img"><a href="<inp2:ProductLink template='__default__'/>"><inp2:Image render_as="image_element" Primary="1" Thumbnail="1" DefaultImage="img/no_picture.gif" MaxWidth="136" MaxHeight="136"/></a></p>
<p class="price"><inp2:Field name="Price" currency="selected" decimal_tag="span"/></p>
<p><a href="<inp2:AddToCartLink template='checkout/cart' product_template='__default__'/>" class="addtocart"><span>Add to Cart</span></a></p>
</dd>
</dl>
</div>
</inp2:m_DefineElement>
<div class="block no-border-bottom">
<h2><em>New Arrivals</em><span class="new"></span></h2>
<inp2:p_ListProducts list_name="new_products" render_as="product_new_element" no_table="1"/>
<div class="clear"></div>
</div>
</inp2:m_Cache>
\ No newline at end of file

Event Timeline