Hello,
On our WooCommerce store (WoodMart theme, version 8.5.5), we have set a Custom permalink base for products (WooCommerce > Settings > Advanced > Permalinks > Product permalinks > Custom base = “/produs/”), instead of the default “/product/”.
Since making this change, our search results page (?s=keyword) displays products using the generic blog post card (showing publish date and excerpt) instead of the product card style we have configured for our shop (Theme Settings > Shop > Product archive > Products grid). This only happens on the search results page — the shop page and category archive pages display products correctly, using our configured product card style.
We suspect this is because somewhere in the theme’s search results rendering logic, there is a hardcoded comparison against the literal string “product” to decide which card template to use, and this check fails because our custom permalink base changes the post_type query var to “produs”.
Could you please point us to the exact file and function responsible for this comparison, so we can safely override it via a child theme, or let us know if there is a supported theme setting to fix this without custom code?
Screenshot and example URL attached in the private content section below.
Thank you for your help.