I am having issue with my collection + menu. please help i am stuck since last 1 month

aliejaz
Tourist
5 0 1

Hi everyone, i need expert help. 

 

When i click on the menu and select a category it redirect me to the page /pages/search-results-page? not to /collections.

https://juvenile-and-home-design.myshopify.com/

This is the site. Please help me.

@PaulNewton 

aliejaz_0-1637885161363.png

Here is what i get when i click on bedroom and bed.

 

Reply 1 (1)
PaulNewton
Shopify Partner
3470 233 677

Double check that your menus are actually set up correctly.

Though checking the source(ctrl+u) the menus html links are not set to /pages/search-results-page but point to the proper collection urls, in fact " /pages/search-results-page" is no where in the raw source so this strongly indicates a javascript or app problem. see sample below

 

If you modified your themes code roll it back and try it again, or added javascript such as for a search app, mega menu app, etc.

 

Install a fresh copy of the theme and add the menus to the settings then check if the problem is still there.

If the problem still persists then it's probably an app doing something it shouldn't be and this could be verified typically by commenting out {{ content_for_header}} in theme.liquid and testing again.

 

 

If that still doesn't resolve it you need to describe any possible steps you took that led to this situation.

 

Beyond that if you need  that you can contact me at paull.newton+shopifyforums@gmail.com with this topic url, store url and any more relevant details.

 

Sample of html navigation source

       <ul
          id="MenuParent-2"
          class="site-nav--dropdown "
          data-meganav-dropdown>
          
            
              <li>
                <a
                  href="/collections/bedrooms"
                  class="site-nav--link"
                  data-meganav-type="child"
                  
                  tabindex="-1">
                    Bed
                </a>
              </li>
            
          
            
              <li>
                <a
                  href="/collections/dressers/chest+dresser+dressers"
                  class="site-nav--link"
                  data-meganav-type="child"
                  
                  tabindex="-1">
                    Chest/Dresser
                </a>
              </li>
            

 

 

 

 

What important thing did you learn this Black Friday?


Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org

Problem Solved? ✔Accept and Like solutions to help future merchants

Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com