Site logo

Archived topic

Override the default search template and use woocommerce archive-product.php

7 replies · Started by David on August 6, 2020

Viewing posts 1–8 of 8

Hi,

how can I override the default GeneratePress search template and use WooCommerce archive-product.php template?

I want to make search results look like categories archive pages.

Thank you.

This only adds &post_type=product to GET request. So my URL after search contains .../?s=whattosearch&product_type=product but I need to change the whole layout of search results page and make it look products categories archives.

Hi there,

instead of using the Search Widget - use the Product Search Widget.

Hi,

thanks for your replies. :)

This is what we are currently getting: Link

And I need to make it look like this: Link

Glad you found the issue! Thanks for letting us know :)

This archived topic is closed to new replies.