We are in the process of moving from our current cart to Miva. I am going to be redirecting our 500+ products to their new respective homes on Miva when we make the switch. Would I be able to do this through the URI management tab?
Announcement
Collapse
No announcement yet.
URI Management Tab
Collapse
X
-
Re: URI Management Tab
Assuming you are doing this on a same domain, you can surely keep your old URL structure in new Miva site using URI Management. If you are looking for re-direction of type "/abc.html" -> "/xyz.html", that's gonna create problems, and you might have to do this on a per-product basis via htaccess file.
-
Re: URI Management Tab
Here is a tutorial on how to migrate to the new URI system:
http://docs.miva.com/docs/how-to-mig...ement-features
Comment
-
Re: URI Management Tab
When URI management is set as the active structure for the site all of my product and category code links are working correctly throughout the site. However the Mega Menu in Iron & Wool is using the old link structure. Do I need to replace some code in the ready theme?
Old Link in Mega Menu:
http://dev.665leather.com/mm5/mercha..._Code=specials
New Link in Category Tree:
http://dev.665leather.com/specials.html
Comment
-
Re: URI Management Tab
No there is a bug in readythemes that is preventing it from outputting the correct URI Management links. We plan on fixing it shortly.
As a stop gap you can use the template code found on this page to manually lookup the Canonical URI and output it:
http://www.miva.com/videos/articles/...ement-examples
Comment
-
Re: URI Management Tab
Originally posted by Brennan View PostNo there is a bug in readythemes that is preventing it from outputting the correct URI Management links. We plan on fixing it shortly.
As a stop gap you can use the template code found on this page to manually lookup the Canonical URI and output it:
http://www.miva.com/videos/articles/...ement-examples
Hopefully it will be a simple find and replace code fix?
Comment
-
Re: URI Management Tab
Originally posted by Brennan View PostYou will need to add the code into your navigation set template. Let me see if I can get you an example.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Re: URI Management Tab
Here is some example code (from Suivant). Any new code is highlighted in Red. One limitation to this code is it assumes that each navigation set item is a link and links to a category.
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>
Last edited by Brennan; 08-25-15, 08:03 AM.
Comment
-
Re: URI Management Tab
So is this a work around or the permanent fix?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr
Comment
-
Re: URI Management Tab
This fix for the URI links works however it breaks the search form.
Search passes incorrectly to here: /mm5/Screen=SRCH
Instead of here: /product-search.htmlLast edited by Viscott; 08-27-15, 08:28 AM.
Comment
Comment