Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    we need to add the compatibility between this plugin and quick view modal. For do this try to add this code snippet on your theme functions.php

    add_action( 'wp_enqueue_scripts', 'mycustom_scripts_quick_view', 100 );
    function mycustom_scripts_quick_view(){
        $script = "jQuery(document).on('qv_loader_stop', function(){
            if( typeof jQuery.fn.tawcvs_variation_swatches_form != 'undefined' ) {
                jQuery('.variations_form').tawcvs_variation_swatches_form();
                jQuery(document.body).trigger('tawcvs_initialized');
            }
        });";
    
        wp_add_inline_script( 'yith-wcqv-frontend', $script );
    }

    Try and let me know, regards. ??

    Thread Starter maherb

    (@maherb)

    Hi,
    Thank you for your support..
    Yes it’s work for me ??

    i have same issue, and this code not worked with me ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce Variation Swatches not working inside popup’ is closed to new replies.