[Resolved] add custom search form to product archive to search ONLY in current product cat
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
What kind of search are we talking about? A text search of titles and content? Or filtering by some custom field or other taxonomy?
And which archive exactly are we talking about?
You say to add search to the "product archive" but only within the "current product category".
The product archive simply displays the product posts (it is essentially the shop page), and so what would the "current" product category be in that case?
Or do you mean the product category archive? In which case products with the product category specified in the URL are shown.
In which case, the products shown are already limited to those with the specified product category.
thx i didn't notice the cusotm search was already pre-filtered in the current category. perfect!
Castel confirmed that the issue was resolved on 2023-12-15 09:09:29.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.