I have a site page that is responsible for displaying the site's products. Think of it, you go to the page and have the category buttons, each time a category button is activated, the products in that section appear below.
I've had a problem a few days ago to figure out how to rename h1 every time a category is called. But it's past.
Now I want the page to start in the section that has the "clsprod" id
www.nomesite.com/products/clsprod
But look, there are categories that have not yet been inserted products, that is, when the button is clicked no product appears, but this is detail, no problem!
The problem is that that link up there should call the "clsprod" section and start the preview from there, but it not only does not call the anchor, it does not show all the products ("All Products" button should be default when loading page)
This only happens after I have rolled the page to the "clsprod" section and click on any category button, then it calls the anchor and calls the product view.
It's awkward and I no longer know what the invention is for this.
Is there anything you know to help me resovler this problem? If you need details I'll go through, and I did not see any reason to put the code because it's very simple to understand.
I see that the code is all ok and does not acknowledge error.
Help me, I thank ^^