Forums Forums Search Search Results for 'woocommerce'

Viewing 10 results - 1,101 through 1,110 (of 1,497 total)
  • Author
    Search Results
  • #37898

    Ross
    Keymaster

    Hey John

    The WooCommerce display method is for displaying on your shop.

    S&F asks WooCommerce what the shop URL is, and then redirects the search there.

    If you want to use any other URL then you are correct, you will likely need to use another display method.

    RE your issues, did you check the upgrade notes?

    https://www.designsandcode.com/documentation/search-filter-pro/2-0-upgrade-notes/

    Where you have:

    if ($searchandfilter->is_valid_form())

    I think you should replace this with:

    if($searchandfilter->active_sfid())

    All instances of $sf_form_data need to be renamed to $searchandfilter, and possibly some functions have been renamed which are outlined in the upgrade notes.

    Hope that helps, let me know how you get on.

    Thanks

    #37871

    Anonymous
    Inactive

    Hey Ross! I have set it to woocommerce shop. When I disable ajax it works. When I enable ajax the search results do not update.

    Almost done. Seeing progress! Thanks for all your help!

    Jen

    #37853

    Anonymous
    Inactive

    Hello Again.

    So if there is no way to use the Woocommerce display and remove the “shop” part of the URL I am stuck with the archive method. Only issue is when I follow your instructions to remove $sf_form_data with $searchandfilter like below:

    add_filter(‘body_class’,’add_body_class_to_search_filter’);
    function add_body_class_to_search_filter($classes) {

    global $searchandfilter;

    if ($searchandfilter->is_valid_form())
    {
    $classes[] = “tax-product_cat archive woocommerce woocommerce-page alt-style-default boxed-layout two-col-right width-930 two-col-right-930”;
    }
    // return the $classes array
    return $classes;
    }

    it still breaks my staging site, what else do I need to fix to get it to work properly? I tried only replacing the first instance of $sf_form_data with $searchandfilter and that didn’t work either.

    Thanks

    #37796

    Ross
    Keymaster

    Hey Jen

    Ok, there is an issue here we need to resolve.

    If you use hte shortcode method, you will not be able to use it on your WooCommerce shop.

    Which, I guess you want to.

    So, re-enable the woocommerce display method, and lets work through any issues you are having that way.

    Thanks

    #37745

    Anonymous
    Inactive

    1. I changed the form to display shortcode into the display results. (Who would’ve thought that following the directions would’ve worked!?). 😉

    2. When I first set it up I used a sidebar with the search form set up as a woocommerce page. It still did not filter. I changed the form to using shortcode because I wanted the filters on the top of the shop page (not the sidebar).

    I disabled ajax in the search from using shortcode and nothing.

    #37719

    Ross
    Keymaster

    Hey Jen

    What was the issue/fix for #1?

    RE the second question – did you follow the instructions for setting up with WooCommerce?

    https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/woocommerce/

    Also, can you disable Ajax for now? Its always best to get a site working without ajax first, and then enabling it once we know the parts are working correctly.

    Thanks

    #37339

    Anonymous
    Inactive

    Hello Ross,

    I can’t use S&F directly on the WooCommerce page.

    I got this: http://esmusssein.com/2016/tienda/

    Everyting is working ok but when I select a product category nothing is returned.

    I can filter by size or color and mobine it, but the product category brokes all the filter.

    Can you help me?

    Thanks in advance.

    #37065

    Ross
    Keymaster

    Hey Hector

    Apologies this must have slipped through the requests.

    I’ll do some testing later on today and get back to you – from my recollection, Search Results should only show the main version of the product in search results.

    Actually, I just took another look – product variations are only properly supported on the WooCommerce shop page:

    http://www.designsandcode.com/documentation/search-filter-pro/3rd-party/woocommerce/

    Can you try using S&F directly with the WooCommerce shop?

    Thanks

    #36650

    Anonymous
    Inactive

    Yes, sure:
    wordpress 4.4.2
    woocommerce 2.4.10
    S&F 2.1.2

    I think the same thing. My woocommerce is deeply customized, with a lot of routine written by me and any plugins.

    Now I try to disable 1by1 and I let you know.
    But unfortunately I need all these plugins for my developments.

    I let you know as soon as I have a detailed answer.

    Bye

    #36643

    Ross
    Keymaster

    Hey Fabio

    Then I think there must be something else that is running on the WooCommerce shop that is causing a conflict.

    Are you using any other widgets on the shop?

    Try disabling your other plugins and testing S&F with WooCommerce again.

    Also can you tell me the version of WP, S&F & WooCommerce you are using?

    Thanks

Viewing 10 results - 1,101 through 1,110 (of 1,497 total)