{%comment -%} You can edit the list template from Layouts/CustomerOrders/list.html {%endcomment -%}{%captureordersOutput -%}{module_order filter="all" collection="orders"}{%endcapture-%}{%ifthis.orders.items -%}<tableclass="data-table order-list collapsing-table"cellpadding="0"cellspacing="0"><thead><tr><th>Order</th><th>Date</th><th>Status</th><th>Ammount</th></tr></thead><tbody>{{ordersOutput}}</tbody></table>{%else -%}<divstyle="text-align: center;font-size: 14px;">You don't have any orders so far. <ahref="/shop.html"class="read-more">Go shopping <span>→</span></a></div>{%endif%}
<h3>Archive</h3>{tag_blogpostarchive,60 template="" collection="blogpostarchive"}
{%comment -%} Suppress the output of the tag_blogpostarchive by using the template="" syntax and capture the data rendered by the tag using the collection="blogpostarchive" syntax {%endcomment -%}<divclass="BlogPostArchive"><ul>{%comment -%} Use liquid to loop through the posts archive collected by the tag_blogpostarchive {%endcomment -%}{%foriteminthis.blogpostarchive.items -%}<li><ahref="{{item.url}}"title="{{item.year}}-{{item.month}}">{{item.month}}{{item.year}} ({{item.count}})</a></li>{%endfor -%}</ul></div>
{%comment -%} suppress the output of the tag_blogrecentpost by using the template="" syntax and capture the data rendered by the tag using the collection="blogrecentposts" syntax {%endcomment -%}{tag_blogrecentpost,10 template="" collection="blogrecentposts"}
<divclass="BlogRecentPost"><ul>{%comment -%} Use liquid to loop through the posts collected by the tag_blogrecentpost {%endcomment -%}{%forpostinthis.blogrecentposts.items -%}<li><ahref="{{post.url}}"title="{{post.title}}">{{post.title}}</a></li>{%endfor -%}</ul></div>
<scripttype="text/javascript"src="/CatalystScripts/Java_DynMenusSelectedCSS.js"></script>{module_menu menuId="1336130" template="" collection="menu_1336130"}
<divid="cat_1336130_divs"><ulid="nav_1336130">{%foriteminthis.menu_1336130.items -%}<li><ahref="{{item.url}}">{{item.label}}</a></li>{%endfor -%}{%comment -%} use globals.user variable to verify if user is logged in {%endcomment -%}{%ifglobals.user.isLoggedIn=='true'%}<li>{module_logout}</li>{%endif -%}</ul></div><scripttype="text/javascript">catSetSelectedCSSItem('nav_1336130');</script>
{%comment -%} Suppress the output of the module using template="" syntax. Also, capture the data in a collection using collection="shoppingCart" syntax. This way you can customize without JS the layout of the cart summary{%endcomment -%}{module_shoppingcartsummary template="" collection="shoppingCart"}
{%comment -%} Use Liquid conditionals for your layout logic {%endcomment -%}{%ifthis.shoppingCart.itemCount>0 -%}<ahref="/OrderRetrievev2.aspx">Shopping Cart ({{this.shoppingCart.itemCount}} items)</a>{%else -%}<ahref="/OrderRetrievev2.aspx">Shopping Cart (0)</a>{%endif -%}
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.