Support » Plugin: Woocommerce Gift Wrapper » Conflict with Facetwp

  • Resolved Olaf Lederer

    (@finalwebsites)


    Hi,
    I’ve a problem using your (fantastic) plugin together with FacetWP. If I activate the gift wrapper plugin the filters from FacetWP disappears.
    So I tried some older versions from your plugin, because I know it worked in the past, and yes with version 4.1.2 the problem doesn’t exists.
    It shouldn’t be a Javascript conflict, because the console doesn’t show any warnings or errors. Since your Javascript files are only included on the cart / checkout page, I might be something else…
    Any idea?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Little Package

    (@littlepackage)

    Hi @finalwebsites

    Thank you for writing about this. I’ve never heard of FacetWP before, so I’m not sure either where the conflict came up, but a lot of things changed between version 4.1.2 and 4.4. This would help me narrow it down for you:

    1. Is 4.1.2 the newest version that works with FacetWP? Have you tried any newer please?

    2. And, are you using WPML?

    3. Finally, you haven’t described the problem. What is happening?

    Thread Starter Olaf Lederer

    (@finalwebsites)

    Hi @littlepackage,

    Thanks for your reply.
    FacetWP is a pretty popular premium plugin with integrations for a lot of popular plugins listed here at wordpress.org.

    1) I tried different versions, went down from the latest version to 4.3.1 > 4.2.5 and then 4.1.2 is the first version that works.

    2) Hell no!

    3) The filter widgets disappear completely.
    check the sidebar here (now it works because the old version is used)
    www.hippehanddoeken.nl/handdoek/

    Plugin Author Little Package

    (@littlepackage)

    Regarding, WPML, hehe, not sure why that’s funny to me but it is. I hear about a lot of WP plugins, but until now FacetWP is new to me, sorry to say. Very busy right now so I need as much help as I can get from you. Can you please check if version 4.2.5 works for you? If it *does* work, that tells me a lot. Thanks!

    Plugin Author Little Package

    (@littlepackage)

    Or… just check out version 4.4.3
    Should fix it.
    🙂

    thedrap

    (@thedrap)

    Hello! I experienced same problem but it tool way longer to figure out that there was a conflict. We FacetWP to create pagination on our products list pages and filters.

    It seems like the queries from gift wrapper and facetwp collide and therefore we had to create a new hook as a workaround.

    In case it gives you a hint of what can be the issue or someone has the same problem

    add_filter( ‘facetwp_is_main_query’, function( $is_main_query, $query ) {
    if (‘-1’ === $query->get( ‘posts_per_page’ ) ) {
    $is_main_query = false;
    }
    return $is_main_query;
    }, 10, 2 );

    Plugin Author Little Package

    (@littlepackage)

    Could someone using Facet let me know if version 4.4.3+ of Gift Wrapper solved this issue? If I don’t hear back fairly soon, I’ll close this thread. A new one can be opened, and please refer to this one.

    I can’t tell, I kept my workaround but when I reported the bug to her she said she would fix it.

    Thread Starter Olaf Lederer

    (@finalwebsites)

    Hi,

    finally I was able to test the update.
    Yes it works, no more problems with the gift wrapper and FacetWP.
    Thanks

    Plugin Author Little Package

    (@littlepackage)

    Time heals all. Thanks @finalwebsites

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.