• JavaScript to Footer it breaks the Woocommerce Variable Options by disallowing the “add to cart” button to appear.
    How can i set the plugin so only the jQuery to stay where it is ?

    I manage to find a temporary-fix for the problem:

    remove_action('wp_head', 'wp_print_scripts');
    remove_action('wp_head', 'wp_print_head_scripts', 9);
    // remove_action('wp_head', 'wp_enqueue_scripts', 1);
    add_action('wp_footer', 'wp_print_scripts', 5);
    add_action('wp_footer', 'wp_enqueue_scripts', 5);
    // add_action('wp_footer', 'wp_print_head_scripts', 5);

    https://www.ads-software.com/plugins/footer-javascript/

  • The topic ‘JavaScript to Footer Variable Add to Cart’ is closed to new replies.