Forums Forums Search & Filter Pro Woocommerce

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #4842

    Hey,

    cool plugin!

    A couple of questions, please bare with me. I’d like for the search results to display using Woocommerce’s product search style. Only I can’t find the php it uses. I’m quite new to all this. I’ve checked in my main themes files and I have the standard search.php which is a different style from what Woocommerce uses. How can I go about making this happen?

    Also, the instructions on getting Ajax to work is a little hazy. Do i just need to post the shortcode in a post, or is there any code which needs to be added to one of the template first?

    Is it possible to have a selection where all the fields need to be entered before allow a result?

    And finally, 🙂 , is it possible to have one selection change the outcome of the next? For instance, I would like to be able to have Category selection, which then changes the available products on the next box?

    Sorry for all the questions!

    Many thanks,
    Adam.

    Ross Moderator
    #4863

    Hey Adam

    Woocommerce loads its own templates if it cannot find a template in your theme folder – so check the woocommerce plugin folder and there is a template folder there – this page explains how to copy over the template files so you can modify them – or if you wanted just grab the code out of them:

    http://docs.woothemes.com/document/template-structure/

    For ajax to work, you must follow these instructions – http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/#docs-new-ajax – basically about the shortcodes:

    1 is to display the search form, and the other is to display the results – so you can place them anywhere you want – you can place them both inside one post/page – as a test – and once you are comfortable that you can see how it is working, then you can move them to any theme file 🙂

    To answer your other questions:

    It is not possible to make all fields required before submitting, and regarding changing selections – this I am working on but will take some time (you can see a feature in admin – autocount beta – which does this, but only works for some users).

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)