Forums Forums Search & Filter Pro Using custom Woocommerce archive-product.php template

Viewing 10 posts - 1 through 10 (of 13 total)
  • Anonymous
    #226892

    Hello,

    I would like to use a custom Woocommerce archive-product.php template to display search results for Woocommerce products(the same way I did for WordPress posts).

    I created a search form for products and tried the following display results setup: https://www.screencast.com/t/LK7nMY6mdYG

    But when I launch the search it retrieves no product.

    The search form works well when I use Display results method: “Woocommerce shop”.

    Thanks,

    Nicolas

    Trevor
    #226923
    This reply has been marked as private.
    Anonymous
    #226935
    This reply has been marked as private.
    Trevor
    #226986
    This reply has been marked as private.
    Anonymous
    #227004
    This reply has been marked as private.
    Trevor
    #227049
    This reply has been marked as private.
    Anonymous
    #227058

    I have created dedicated pages to test these search forms: for example this one: http://test.hautlescours.fr/non-classe/woocommerce-shop/

    Is it useful for you?

    Trevor
    #227110

    The form on that page points to http://test.hautlescours.fr/recherches/

    The form is set to ‘Custom’ method, but how is it linked to the results? I see no results grid on that page?

    Anonymous
    #227117
    This reply has been marked as private.
    Trevor
    #227260

    OK, but you need it to keep and display the results on this page, and not go to the shop page, yes?

    I could not find the archive-product.php template file in the them or child theme folder? Is your shop page using the one in the WooCommerce plugin folder?

    I am think that, if you are using the As an Archive display results method, you may need to copy that file and give it a new name, and put that in the child theme main folder.

Viewing 10 posts - 1 through 10 (of 13 total)