Forums Forums Search & Filter Pro Custom Template for Search & Filter Pro

Tagged: ,

Viewing 10 posts - 1 through 10 (of 14 total)
  • Anonymous
    #10931

    Hi All,

    I’m having a woocommerce wordpress site, and i have used Search & Filter as the search engine, but i want the result to show as same as the default woocommerce search, so what should i do? I’m using storefront template.

    Besides, i want to know is it possible to search by product quantity? for example >200 or >300,

    because so of the product of my site had minimum quantity to place order.

    Thanks and hope you can replay me asap.

    Much Thanks!!

    Ross Moderator
    #10933

    Hey Yeung

    You can make the search only show products with over a specific quantity no problem – as long as the quantity is a custom field/post meta, and not a taxonomy.

    Head to “post meta” tab in the “settings & defaults” box.

    To display you results the same, you must choose which template is used in your theme for displaying your default woocommerce page.

    Make sure you copy the woocommerce files over to to your theme folder – http://docs.woothemes.com/document/template-structure/

    And then under “display results” enter the filename of the template used to display your results.

    Thanks

    Anonymous
    #10944
    This reply has been marked as private.
    Ross Moderator
    #10964
    This reply has been marked as private.
    Anonymous
    #10965
    This reply has been marked as private.
    Anonymous
    #11014
    This reply has been marked as private.
    Ross Moderator
    #11026
    This reply has been marked as private.
    Anonymous
    #11307
    This reply has been marked as private.
    Ross Moderator
    #11359

    Did you follow the steps above?

    It really depends on your theme which file is being used – but usually its “product-archive.php” (or something very similar).

    So, once you have copied the woocommerce files to your theme (I sent the link above) then in S&F- under “display results”, choose “as archive”, then tick “use custom template” and under the filename the template should be something like “woocommerce/product-archive.php”.

    If, when you save the form, the filename is disappearing it means you have done something wrong and it can’t find the template in your theme folder so double check your paths etc.

    Thanks

    Anonymous
    #11446

    Hi Thanks a lot!

    Another question, if i must use the shortcode to show the result, can i change the default result view?

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