• Hello,
    I have just installed the latest version of Woocommerce on my site. I
    also have installed Genesis connect for Woocommerce and have declared it in my child theme.

    Here is the problem: after adding variations for a product, the add to cart button disappears. If I return the product to single, the add to cart button re-appears. I have found a thread which speaks of the same problem here
    https://splashingpixels.com/woocommerce-jquery-cookie-js-error/ I have installed the recommended plugin from this developer and the button re-appears. However, here is the debug code I get:

    Notice: wp_deregister_script was called incorrectly. Scripts and styles should
    not be registered or enqueued until the wp_enqueue_scripts,
    admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see
    Debugging in WordPress for more information. (This message was added
    in version 3.3.) in
    /home/metaq864/public_html/merch/wp-includes/functions.php on line 3049

    Notice: Cookie cannot be set – headers already sent in
    /home/metaq864/public_html/merch/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 369

    And then, when i add the variable product and proceed to the cart, I
    get this: Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This
    message was added in version 3.3.) in /home/metaq864/public_html/merch/wp-includes/functions.php on line 3049

    Notice: Cookie cannot be set – headers already sent in /home/metaq864/public_html/merch/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 369

    Warning: Cannot modify header information – headers already sent by(output started at
    /home/metaq864/public_html/merch/wp-includes/functions.php:3049) in
    /home/metaq864/public_html/merch/wp-includes/pluggable.php on line 896

    Any ideas would be great as this plugin does not fully function. Also, i have contacted my host to verify the outdated mod_security as explained in the same thread. The hosting disable the mod_security rules and nothing has changed.
    >
    > Thanks!
    >
    > URL
    > https://merch.acrassicauda.com
    >
    > Child Theme
    > Prose

  • The topic ‘Woocommerce add to cart button missing on variable products’ is closed to new replies.