Re: URI Management Tab
It's the exact code you posted above:
Originally posted by Brennan
View Post
Code:
<mvt:assign name="l.uri:store_id" value="g.Store:id" />
<mvt:assign name="l.uri:screen" value="''" />
<mvt:assign name="l.uri:page_id" value="0" />
<mvt:assign name="l.uri:product_id" value="0" />
<nav id="js-navigation-bar" class="navigation-bar &mvte:readytheme:code;">
<div class="row all-hidden medium-all-shown large-all-hidden mobile-navigation-bar">
<div class="column one-eighth align-left toggle-slide-left"><span data-icon="a"> Shop</span></div>
<div id="js-open-global-search--tablet" class="column one-twelfth float-right open-global-search--tablet"><span data-rt-icon="j"></span></div>
</div>
<ul id="js-navigation-set" class="navigation-set &mvte:readytheme:layout;">
<mvt:foreach iterator="navigationitem" array="readytheme:navigationitems">
<li class="level-1">
<mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code( l.settings:navigationitem:link_dest, l.settings:category )" />
<mvt:assign name="l.uri:cat_id" value="l.settings:category:id" />
<mvt:do file="g.Module_Feature_URI_DB" name="l.have_uri" value="URI_Load_Item_Canonical( l.uri, l.settings:canonical_uri )" />
<span><a href="&mvt:canonical_uri:uri;">&mvt:navigationitem:name;</a></span>
<mvt:if expr="NOT ISNULL l.settings:navigationitem:items">
<ul>
<mvt:foreach iterator="navigationitem_level2" array="navigationitem:items">
<li class="level-2">
<mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code( l.settings:navigationitem_level2:link_dest, l.settings:category )" />
<mvt:assign name="l.uri:cat_id" value="l.settings:category:id" />
<mvt:do file="g.Module_Feature_URI_DB" name="l.have_uri" value="URI_Load_Item_Canonical( l.uri, l.settings:canonical_uri )" />
<span> <a href="&mvt:canonical_uri:uri;">&mvt:navigationitem_level2:name;</a></span>
<mvt:if expr="NOT ISNULL l.settings:navigationitem_level2:items">
<ul>
<mvt:foreach iterator="navigationitem_level3" array="navigationitem_level2:items">
<mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code( l.settings:navigationitem_level3:link_dest, l.settings:category )" />
<mvt:assign name="l.uri:cat_id" value="l.settings:category:id" />
<mvt:do file="g.Module_Feature_URI_DB" name="l.have_uri" value="URI_Load_Item_Canonical( l.uri, l.settings:canonical_uri )" />
<li class="level-3"><span><a href="&mvt:canonical_uri:uri;">&mvt:navigationitem_level3:name;</a></span></li>
</mvt:foreach>
</ul>
</mvt:if>
</li>
</mvt:foreach>
</ul>
</mvt:if>
</li>
</mvt:foreach>
<li id="js-open-global-search" class="level-1 open-global-search"><a href="&mvt:global:sessionurl;Screen=SRCH" data-rt-icon="j"></a></li>
</ul>
<div class="row wrap">
<form action="&mvt:global:protocol_relative_url;Screen=SRCH" method="post" id="js-global-search" class="column whole large-half bg-white nrp global-search hide">
<input type="hidden" name="Store_Code" value="&mvte:store:code;" />
<input type="search" name="Search" value="" placeholder="Search…" class="bg-transparent nb input-large-font" />
<button type="submit" class="button button-square bg-transparent nb np button-large-font" data-rt-icon="d"></button>
</form>
</div>
<mvt:if expr="l.settings:page:code EQ 'ORDL' OR l.settings:page:code EQ 'OCST' OR l.settings:page:code EQ 'OUS1' OR l.settings:page:code EQ 'OUSM' OR l.settings:page:code EQ 'UATM' OR l.settings:page:code EQ 'UATR' OR l.settings:page:code EQ 'OSEL' OR l.settings:page:code EQ 'OPAY' OR l.settings:page:code EQ 'INVC'">
<div class="row checkout-headers">
<mvt:if expr="l.settings:page:code EQ 'ORDL' OR l.settings:page:code EQ 'OCST' OR l.settings:page:code EQ 'OUS1' OR l.settings:page:code EQ 'OUSM' OR l.settings:page:code EQ 'UATM' OR l.settings:page:code EQ 'UATR'">
<div class="column one-fourth current-step"><span data-icon=""></span><strong class="hide medium-show">CUSTOMER INFORMATION</strong><strong class="medium-hide">STEP 1</strong></div>
<mvt:else>
<div class="column one-fourth"><span data-icon=""></span><strong class="hide medium-show">CUSTOMER INFORMATION</strong><strong class="medium-hide">STEP 1</strong></div>
</mvt:if>
<mvt:if expr="l.settings:page:code EQ 'OSEL'">
<div class="column one-fourth current-step"><span data-icon=""></span><strong class="hide medium-show">SHIPPING OPTIONS</strong><strong class="medium-hide">STEP 2</strong></div>
<mvt:else>
<div class="column one-fourth"><span data-icon=""></span><strong class="hide medium-show">SHIPPING OPTIONS</strong><strong class="medium-hide">STEP 2</strong></div>
</mvt:if>
<mvt:if expr="l.settings:page:code EQ 'OPAY'">
<div class="column one-fourth current-step"><span data-icon=""></span><strong class="hide medium-show">PAYMENT INFORMATION</strong><strong class="medium-hide">STEP 3</strong></div>
<mvt:else>
<div class="column one-fourth"><span data-icon=""></span><strong class="hide medium-show">PAYMENT INFORMATION</strong><strong class="medium-hide">STEP 3</strong></div>
</mvt:if>
<mvt:if expr="l.settings:page:code EQ 'INVC'">
<div class="column one-fourth current-step"><span data-icon=""></span><strong class="hide medium-show">ORDER CONFIRMATION</strong><strong class="medium-hide">STEP 4</strong></div>
<mvt:else>
<div class="column one-fourth"><span data-icon=""></span><strong class="hide medium-show">ORDER CONFIRMATION</strong><strong class="medium-hide">STEP 4</strong></div>
</mvt:if>
</div>
</mvt:if>
</nav>
Comment