• Hi,

    Google tag manager plugin is conflicting with quick view plugin. When Tag manager plugin is activated then quick view of product is not showing in popup , It is opening in new tab. When I deactivate tag manager plugin then quick view plugin working fine. I think there is some ajax or js issue.

    Ca you please tell me why it is happening?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    As far as I can see you are using the WooCommerce Quick View plugin, I have added compatibility to this plugin in the latest version, you can see how it works on my demo store:
    https://woo.duracelltomi.hu/product-category/all-products/

    I checked you site and I can see some issues with the HTML code. The quick view button’s HTML element also includes an add to cart link and a “go to the detail page” link inside which might break this feature on your site.

    Thread Starter developerweb

    (@developerweb)

    The latest version is installed in the site.
    The issue is only in chrome not mozilla.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Could you test a change in the plugin code?

    In the plugin folder of GTM4WP you will see a subfolder called integration and here you will find a woocommerce.php file. Make a copy of it to keep a safe backup copy on case of something going wrong.

    Open this file and locate this line:

    $( '.products li:not(.product-category) a:not(.add_to_cart_button),.widget-product-item' ).click(function( event ) {

    Replace with this:

    $( '.products li:not(.product-category) a:not(.add_to_cart_button):not(.quick-view-button),.widget-product-item' ).click(function( event ) {

    Let me know if this helped solving this issue

    Thread Starter developerweb

    (@developerweb)

    I have replaced the code but there is still issue.

    The issue is not only quick view but also in product gallery images. You can check the single product page.

    Plugin Author Thomas Geiger

    (@duracelltomi)

    As far as I can see you deactivated my plugin.

    Let me know if you have a testing site where it is possible to find the solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Confliction with Quick view plugin’ is closed to new replies.