Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F859782
modern-store
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
Tue, Apr 29, 1:00 PM
Size
6 KB
Mime Type
text/x-diff
Expires
Thu, May 1, 1:00 PM (15 h, 17 m)
Engine
blob
Format
Raw Data
Handle
611522
Attached To
rTMST Themes.Modern-Store
modern-store
View Options
Index: branches/1.0.x/elements/side_boxes/picks.elm.tpl
===================================================================
--- branches/1.0.x/elements/side_boxes/picks.elm.tpl (revision 14785)
+++ branches/1.0.x/elements/side_boxes/picks.elm.tpl (revision 14786)
@@ -1,14 +1,12 @@
<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"/>
+ <inp2:p_InitList list_name="pick_products" types="pick" parent_cat_id="0" recursive="1" per_page="1" sort_by="random"/>
<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="sidebox_product_element" no_table="1"/>
- </dl>
+ <div class="good-item border-radius-bottom comparing-items">
+ <inp2:p_ListProducts list_name="pick_products" render_as="sidebox_product_element" no_table="1"/>
</div>
</div>
</inp2:m_Cache>
\ No newline at end of file
Index: branches/1.0.x/elements/side_boxes/related_products.elm.tpl
===================================================================
--- branches/1.0.x/elements/side_boxes/related_products.elm.tpl (revision 14785)
+++ branches/1.0.x/elements/side_boxes/related_products.elm.tpl (revision 14786)
@@ -1,15 +1,13 @@
-<inp2:p_InitList list_name="related_products" types="related" recursive="1" parent_cat_id="any" />
+<inp2:p_InitList list_name="related_products" types="related" recursive="1" parent_cat_id="any" per_page="3"/>
<div class="block no-border-bottom">
<h2>
<em>We Recommend:</em><span></span>
<a href="#" class="product-prev" title="Previous"></a>
<a href="#" class="product-next" title="Next"></a>
</h2>
- <div class="good-item border-radius-bottom">
- <dl>
- <inp2:p_ListProducts list_name="related_products" render_as="sidebox_product_element" no_table="1"/>
- </dl>
+ <div class="good-item border-radius-bottom comparing-items">
+ <inp2:p_ListProducts list_name="related_products" render_as="sidebox_product_element" no_table="1"/>
</div>
</div>
\ 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 14785)
+++ branches/1.0.x/elements/product_elements.elm.tpl (revision 14786)
@@ -1,46 +1,48 @@
<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 small_style="small-star"/>
</span>
<span class="reviews">
<a href="<inp2:ProductLink template='__default__'/>">Reviews</a> (<a href="<inp2:ProductLink template='__default__'/>"><inp2:Field name="CachedReviewsQty"/></a>)
</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">
+<dl class="<inp2:m_if check='m_Param' name='is_last'>last</inp2:m_if>">
<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>
+</dl>
</inp2:m_DefineElement>
\ 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 14785)
+++ branches/1.0.x/elements/content_boxes/new_products.elm.tpl (revision 14786)
@@ -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:p_InitList list_name="new_products" types="featured" parent_cat_id="0" recursive="1" per_page="4" 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" 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
Log In to Comment