Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1332790
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
Mon, Jan 12, 5:58 PM
Size
2 KB
Mime Type
text/x-diff
Expires
Wed, Jan 14, 5:58 PM (9 h, 33 m)
Engine
blob
Format
Raw Data
Handle
862242
Attached To
rTMST Themes.Modern-Store
modern-store
View Options
Index: branches/1.0.x/elements/side_boxes/recently_viewed.elm.tpl
===================================================================
--- branches/1.0.x/elements/side_boxes/recently_viewed.elm.tpl (revision 14905)
+++ branches/1.0.x/elements/side_boxes/recently_viewed.elm.tpl (revision 14906)
@@ -1,23 +1,23 @@
<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="recent_products" types="recent" parent_cat_id="any" per_page="short_list"/>
<div class="block no-border-bottom">
<h2><em>Our Favorites</em><span class="pick"></span></h2>
<inp2:m_DefineElement name="pick_product_element">
<dt><a href="<inp2:ProductLink template='__default__'/>"><inp2:Field field="Name" html_escape="1"/></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='elements/ajax/cart_bubble' product_template='__default__'/>" class="addtocart" rel="nofollow"><span>Add to Cart</span></a></p>
</dd>
</inp2:m_DefineElement>
<div class="good-item border-radius-bottom">
<dl>
- <inp2:p_ListProducts list_name="pick_products" render_as="pick_product_element" no_table="1"/>
+ <inp2:p_ListProducts list_name="recent_products" render_as="pick_product_element" no_table="1"/>
</dl>
</div>
</div>
</inp2:m_Cache>
\ 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 14905)
+++ branches/1.0.x/elements/side_boxes/picks.elm.tpl (revision 14906)
@@ -1,12 +1,10 @@
<inp2:m_Cache key="prefix:p;currency;guest_only">
+ <inp2:p_InitList list_name="pick_products" types="pick" parent_cat_id="any" per_page="1" sort_by="random"/>
- <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 comparing-items">
+ <div class="good-item border-radius-bottom">
<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
+</inp2:m_Cache>
Event Timeline
Log In to Comment