As you can see in my snips Luxe (and maybe other Ready Themes) displays inactive sub-categories in the Category Bar. I had 5 of these show up and it took a while to find them. I've cleaned all my others and left this one up for you to see.
Luxe Glitch
Collapse
X
-
Luxe Glitch
You do not have permission to view this gallery.
This gallery has 3 photos.Keith Oratz
PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
www.preparesmart.comTags: None
-
This issue has been updated in the framework. To correct the issue, replace the Category Tree Template with this code:
Code:[FONT=Consolas]<section class="cmp-category-navigation bg--blue" data-scroll>[/FONT] [FONT=Consolas]<mvt:if expr="'CTGY' CIN l.settings:page:code">[/FONT] [FONT=Consolas]<h1 class="blk-page-title color--white h-align-center h-nm font--uppercase">&mvt:category:name;</h1>[/FONT] [FONT=Consolas]<mvt:else>[/FONT] [FONT=Consolas]<h1 class="blk-page-title color--white h-align-center h-nm font--uppercase">&mvt:page:name;</h1>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]<!-- end .blk-page-title -->[/FONT] [FONT=Consolas]<mvt:if expr="'CTGY' CIN l.settings:page:code">[/FONT] [FONT=Consolas]<mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code(g.Category_Code, l.settings:current_category)"/>[/FONT] [FONT=Consolas]<mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Parent(l.settings:current_category:id, l.settings:sub_categories)"/>[/FONT] [FONT=Consolas]<mvt:if expr="l.settings:sub_categories">[/FONT] [FONT=Consolas]<nav class="cmp-category-navigation__menu font--uppercase" data-hook="cmp-category-navigation__menu">[/FONT] [FONT=Consolas]<ul>[/FONT] [FONT=Consolas]<mvt:if expr="l.settings:page:code NE 'CTGY'">[/FONT] [FONT=Consolas]<li><a data-filter-by="all" data-hook="filter-by-all" href="">All</a></li>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]<mvt:foreach iterator="subcategory" array="sub_categories">[/FONT] [FONT=Consolas]<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:subcategory:uri" value="Store_Category_URL(l.settings:subcategory, NULL)" />[/FONT] [FONT=Consolas]<mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Parent(l.settings:subcategory:id, l.settings:sub_categories2)"/>[/FONT] [FONT=Consolas]<mvt:if expr="l.settings:subcategory:active EQ 1">[/FONT] [FONT=Consolas]<li>[/FONT] [FONT=Consolas]<a data-filter-by="&mvt:subcategory:code;" data-hook="filter-by-&mvt:subcategory:code;" href="&mvt:subcategory:uri;">&mvt:subcategory:name;</a>[/FONT] [FONT=Consolas]<mvt:if expr="l.settings:sub_categories2">[/FONT] [FONT=Consolas]<ul class="cmp-subcategory-navigation__menu">[/FONT] [FONT=Consolas]<mvt:foreach iterator="subcategory2" array="sub_categories2">[/FONT] [FONT=Consolas]<mvt:do file="g.Module_Feature_URI_UT" name="l.settings:subcategory2:uri" value="Store_Category_URL(l.settings:subcategory2, NULL)" />[/FONT] [FONT=Consolas]<li><a href="&mvt:subcategory2:uri;">&mvt:subcategory2:name;</a></li>[/FONT] [FONT=Consolas]</mvt:foreach>[/FONT] [FONT=Consolas]</ul>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]</li>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]</mvt:foreach>[/FONT] [FONT=Consolas]</ul>[/FONT] [FONT=Consolas]<select class="bg--blue color--white font--uppercase h-nb">[/FONT] [FONT=Consolas]<mvt:if expr="l.settings:page:code NE 'CTGY'">[/FONT] [FONT=Consolas]<option value="filter-by-all">All</option>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]<mvt:foreach iterator="subcategory" array="sub_categories">[/FONT] [FONT=Consolas]<mvt:if expr="l.settings:subcategory:active EQ 1">[/FONT] [FONT=Consolas]<option value="filter-by-&mvt:subcategory:code;">&mvt:subcategory:name;</option>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]</mvt:foreach>[/FONT] [FONT=Consolas]</select>[/FONT] [FONT=Consolas]</nav>[/FONT] [FONT=Consolas]<!-- end .cmp-category-navigation__menu -->[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]</mvt:if>[/FONT] [FONT=Consolas]</section>[/FONT] [FONT=Consolas]<!-- end .cmp-category-navigation -->[/FONT] [FONT=Consolas]<mvt:if expr="'CTGY' CIN l.settings:page:code">[/FONT] [FONT=Consolas]<section class="cmp-subcategory-navigation font--uppercase" data-hook="cmp-subcategory-navigation"></section>[/FONT] [FONT=Consolas]<!-- end .cmp-subcategory-navigation -->[/FONT] [FONT=Consolas]</mvt:if>[/FONT]
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
That fixed it. Thanks!Keith Oratz
PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
www.preparesmart.com
Comment
-
Yes, thanks!Originally posted by Keitho View PostThat fixed it. Thanks!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: X | Facebook | Pinterest
Comment
Comment