Announcement

Collapse
No announcement yet.

Luxe Glitch

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Luxe Glitch

    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.
    Keith Oratz
    PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
    www.preparesmart.com

    #2
    This issue has been updated in the framework. To correct the issue, replace the Category Tree Template with this code:
    Code:
      <section class="cmp-category-navigation bg--blue" data-scroll>
      <mvt:if expr="'CTGY' CIN l.settings:page:code">
      <h1 class="blk-page-title color--white h-align-center h-nm font--uppercase">&mvt:category:name;</h1>
      <mvt:else>
      <h1 class="blk-page-title color--white h-align-center h-nm font--uppercase">&mvt:page:name;</h1>
      </mvt:if>
      <!-- end .blk-page-title -->
      <mvt:if expr="'CTGY' CIN l.settings:page:code">
      <mvt:do name="l.result" file="g.Module_Library_DB" value="Category_Load_Code(g.Category_Code, l.settings:current_category)"/>
      <mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Parent(l.settings:current_category:id, l.settings:sub_categories)"/>
      <mvt:if expr="l.settings:sub_categories">
      <nav class="cmp-category-navigation__menu font--uppercase" data-hook="cmp-category-navigation__menu">
      <ul>
      <mvt:if expr="l.settings:page:code NE 'CTGY'">
      <li><a data-filter-by="all" data-hook="filter-by-all" href="">All</a></li>
      </mvt:if>
      <mvt:foreach iterator="subcategory" array="sub_categories">
      <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:subcategory:uri" value="Store_Category_URL(l.settings:subcategory, NULL)" />
      <mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Parent(l.settings:subcategory:id, l.settings:sub_categories2)"/>
      <mvt:if expr="l.settings:subcategory:active EQ 1">
      <li>
      <a data-filter-by="&mvt:subcategory:code;" data-hook="filter-by-&mvt:subcategory:code;" href="&mvt:subcategory:uri;">&mvt:subcategory:name;</a>
      <mvt:if expr="l.settings:sub_categories2">
      <ul class="cmp-subcategory-navigation__menu">
      <mvt:foreach iterator="subcategory2" array="sub_categories2">
      <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:subcategory2:uri" value="Store_Category_URL(l.settings:subcategory2, NULL)" />
      <li><a href="&mvt:subcategory2:uri;">&mvt:subcategory2:name;</a></li>
      </mvt:foreach>
      </ul>
      </mvt:if>
      </li>
      </mvt:if>
      </mvt:foreach>
      </ul>
      <select class="bg--blue color--white font--uppercase h-nb">
      <mvt:if expr="l.settings:page:code NE 'CTGY'">
      <option value="filter-by-all">All</option>
      </mvt:if>
      <mvt:foreach iterator="subcategory" array="sub_categories">
      <mvt:if expr="l.settings:subcategory:active EQ 1">
      <option value="filter-by-&mvt:subcategory:code;">&mvt:subcategory:name;</option>
      </mvt:if>
      </mvt:foreach>
      </select>
      </nav>
      <!-- end .cmp-category-navigation__menu -->
      </mvt:if>
      </mvt:if>
      </section>
      <!-- end .cmp-category-navigation -->
      <mvt:if expr="'CTGY' CIN l.settings:page:code">
      <section class="cmp-subcategory-navigation font--uppercase" data-hook="cmp-subcategory-navigation"></section>
      <!-- end .cmp-subcategory-navigation -->
      </mvt:if>


    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

    Comment


      #3
      That fixed it. Thanks!
      Keith Oratz
      PrepareSmart, LLC - Emergency Preparedness Supplies and Professional Grade Search and Rescue Gear
      www.preparesmart.com

      Comment


        #4
        Originally posted by Keitho View Post
        That fixed it. Thanks!
        Yes, 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: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment

        Working...
        X