Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #615449

    This is related to this ticket, but creating my own ticket as requested.

    Issue: When a customer tried to select from a WooCommerce product with a variable (options) to choose from, they received the error: “Please choose product options…” If they tried to purchase an item without variations, all was ok and the item got into the cart.

    After some hunting around, I found that there seems to be an issue with jquery. I found this suggestion as an immediate solution in a thread here at the support forum:

    /* Temporary fix 20160415 */
    function modify_jquery() {
    if (!is_admin()) {
    	wp_deregister_script('jquery');
    	wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
    	wp_enqueue_script('jquery');
    }
    }
    add_action('init', 'modify_jquery');

    This code – added to the functions.php file of my Enfold child theme – solved the issue.

    The issue seems to be directly related to the update to WordPress 4.5. I am running the newest version of WooCommerce as well as the newest version of Enfold (as of last night).

    #615452

    Update: The code was provided by a member of your team in this thread. That (temporary) solution did work for me.

    #615959

    OK. Is this being looked at?
    Note this comment at the WordPress.org site under WooCommerce support…

    WordPress 4.5 saw the bundled jQuery version being updated from 1.11.3 to 1.12.2. Some themes are not compatible with this change and cause errors, which affect all scripts loaded on your pages. This includes checkout and variable product pages.

    Read https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=7

    To view jQuery/Javascript errors, open up your error console (in chrome, view > developer > javascript console) and see what is shown.

    If there are errors shown, check for updates from your theme author or contact the theme author for support if none exist and that is where the error is coming from.

    This is not a WooCommerce issue just to clarify; WooCommerce is compatible with jQuery 1.12.2.

    #616008

    Hey!

    Sorry for the delay. Please share the link to the page where we can inspect the element in question :)

    Cheers!
    Vinay

    #616432

    Vinay,
    I would have to break a live site to get this to display. I kind of figure I would have given you enough information – along with the thread from the other member – would have given you some information to go with. You can also click here for additional info online.

    Also, look at the comment from the WooCommerce staff at WordPress.org – linked above.

    If you really need me to build out a development environment, I can do that. Let me know.

    Steve

    #616603

    Hi,

    Thanks, it works.

    Kind regards.

    Annette

    • This reply was modified 8 years, 8 months ago by imweb-team.
    #618022

    Hi @spidercreations,

    Yes it’s being looked at but the temporary fix is the only fix available at the moment, did it solve your problems or not?

    Thanks,
    Rikard

    #618295

    Yes, the temporary fix HAS fixed the issue. The most important thing was that you have recognized there is an issue, as it had not been recognized as an issue before. Thanks you.
    Steve

    #619498

    Hi Steve,

    Oh yes, it hit us on the head like a basketball we didn’t see coming. The problem is due to the new version of WordPress using the latest version of jQuery. I expect everything will be back to normal with patches in the next release of the theme though.

    Regards,
    Rikard

    #695272

    We are having this same issue with “See below link” as the user above.
    Issue is on the page specified below is an example but on all the Punching bag pages because they are variable products. In desktop mode it works alright but responsive mode in the browser or on an android device it pops up with “Please choose some product options” and will not add an item to cart no matter what you select. When you select one of the items in the drop down it should change the photo placeholder which it does not either. I’m thinking that’s linked.
    Is this something we can get some assistance on? I’ve exhausted forums and threads trying to resolve it and still having the issue.

    Thank you!

    #697340

    Hi,

    Please update the theme to the latest version. That should fix any issues you are currently experiencing :)

    To update to the latest version follow the simple instructions here. (Or if you want the super detailed explanation you can read this blog post)

    If that does not help, feel free to reply here and we will take a closer look at the issue. In that case please also add your WordPress login credentials (in the “private data” field) so we can take a look at your admin area

    Best regards,
    Andy

    #697543

    Hello, I manually updated prior to posting here and then also setup the api connection for auto updates in the future. It says latest version even now so unless it’s not communicating properly it’s already at the latest version and still having these issues.
    See attached screen capture for what I’m looking at, also admin creds. Any other ideas?

    Thanks so much!

    #697737

    Hi,

    login to your themeforest account and download the newest Enfold version. Then install it manually via FTP: http://kriesi.at/documentation/enfold/portfolio-item/update-theme-files-with-ftp/

    Best regards,
    Andy

    #697854

    *le sigh* Version 3.8. Is theme forest behind or was it just released? The original issue posts were back in April so I guess that why I was confused why it still wasn’t working. Seems to be working fine now.

    Thanks for the response!

    #698375

    Hi,

    glad it’s working fine now!
    Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘WooCommerce Issue after WP Update – Can not add products w/ variants into cart’ is closed to new replies.