Category search filter in Home Page

I have difficulty to understand a strange behavior in Wordpress + Woocommerce, and specifically in category search. It seems that the engine behaves differently in the Home Page and in an internal page and I don't understand where the "catch" is.
The Home Page of the site is mainly composed of the list of Woocommerce articles with two filters: textual + category. If I carry out the text search, it returns the same Home Page with the articles filtered. If I apply a filter on the category, instead, it seems that everything is redirected to another page with a more sparse layout even if the url remains the same. The discriminating element is the "product_cat" parameter in url.
If I clone the Home Page, this problem no longer exists in the new page. I apply the filter and the system returns the correct page. It seems that somewhere there is something like "if (Home Page && product_cat) go to another module" but I can't understand where.
I use Wordpress 5.4.1–it,  BeTheme 21.7.4 (licenseed) with SHOES Layout + Woocommerce 4.2.0 + WOOF - WooCommerce Products Filter.
The site is https://barpiadineriamarilyn.compradanoi.it/ and for now I have solved it by setting a redirect from the Home Page to the internal page but this solution does not drive me crazy.

I attach explanatory images (I hope)

image

image

image


image

Comments

  • Hello,
    But, you mean that search where "Hamburger" label is, right?
    This is not coming from the vanilla woocommerce, so we cannot be sure what's wrong because we simply do not support it.

    thanks
  • Hamburger is a category. When I search by category in home page the wordpress show me the results into another layout (the link is the same). When I search by category in a cloned page the wordpress show me the results into the same page. If I set cloned page as Home Page, the problem appairs in the cloned page. I think that when I search by category in home page, the system use default woocoomerce shop page layout but I do not know where I can change this.
  • For searching there is a special option, in theme options>header&subheader>extras that allows you to search only the shop products. The issue you are reffering to - at least this is what I think is the problem - is that the search results page for the default search box is not looking as the shop page.
    This is normal, we do not interefere with the default wordpress search page and woocommerce does not either. You would have to manually code this page to your liking.
    thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.