Most WooCommerce themes trigger the product catalog style when the post_type
parameter is set to product
. That’s probably what you’re missing here.
Thread Starter
SLV
(@dwnl)
So, what must i change, were?
Your search form should include the post_type
parameter. Since I don’t know which theme you are using, I can’t tell you the exact details. It may be in your theme settings somewhere, or you can add
<input type="hidden" name="post_type" value="product" />
to your search form HTML code.
Thread Starter
SLV
(@dwnl)
The thememaker doesn’t know how
He removed his searchform with yours so it comes from your plugin.
He says:
https://ibb.co/HFmGpFV
https://ibb.co/7RNFx84
Use [searchform post_type="product"]
instead of just [searchform]
. That will add the post_type
parameter.
Thread Starter
SLV
(@dwnl)
And for words like “ideal” on textpage with just information on paymentmethodes or so? How to display them like it is now: https://ibb.co/54k5PCp
That’s not a product. When you restrict the search to just products, all non-products are removed from the search. That’s a limitation of your theme. I’m not sure what would be the ideal solution, how to best combine the product display with regular posts and their excerpts, but that’s something you and the theme developer need to work out and then implement in the template files. I don’t have a good answer for that.
Thread Starter
SLV
(@dwnl)
Hello,
They don’t know how to… so I have changed [searchform] into [searchform post_type=”product”] so products are shown on catalog pages.
Normal words are now not found anymore. That’s a los, but so be it till I find a solution.