Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • karanrpn

    (@karanrpn)

    Some plugin might be conflicting with woocommerce try to deactivate plugin one by one and check..
    If it does not work then please send me wp-admin access at my-email so that i can check issue.
    you can also contact me at skype [email protected]

    karanrpn

    (@karanrpn)

    if ( class_exists( ‘YITH_WAPO’ ) ) {

    function pz_child_yith_pa_comp_fix() {
    wp_register_script( ‘select2’, WC()->plugin_url() . ‘/assets/js/select2/select2.full.min.js’, array( ‘jquery’ ) );
    wp_enqueue_script( ‘select2’ );

    wp_register_script( ‘selectWoo’, WC()->plugin_url() . ‘/assets/js/selectWoo/selectWoo.full.min.js’, array( ‘jquery’ ) );
    wp_enqueue_script( ‘selectWoo’ );

    wp_register_script( ‘wc-enhanced-select’, WC()->plugin_url() . ‘/assets/js/admin/wc-enhanced-select.min.js’, array( ‘jquery’, ‘selectWoo’ ) );
    wp_enqueue_script( ‘wc-enhanced-select’ );
    }

    add_action( ‘admin_enqueue_scripts’, ‘pz_child_yith_pa_comp_fix’ );
    }

    Put this in your theme function file ..

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