-
AuthorPosts
-
April 16, 2016 at 1:51 pm #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).
April 16, 2016 at 1:54 pm #615452Update: The code was provided by a member of your team in this thread. That (temporary) solution did work for me.
April 18, 2016 at 1:53 am #615959OK. 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.
April 18, 2016 at 5:08 am #616008Hey!
Sorry for the delay. Please share the link to the page where we can inspect the element in question :)
Cheers!
VinayApril 18, 2016 at 1:26 pm #616432Vinay,
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
April 18, 2016 at 3:58 pm #616603Hi,
Thanks, it works.
Kind regards.
Annette
- This reply was modified 8 years, 7 months ago by imweb-team.
April 20, 2016 at 7:25 am #618022Hi @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,
RikardApril 20, 2016 at 1:46 pm #618295Yes, 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.
SteveApril 22, 2016 at 5:34 am #619498Hi 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,
RikardOctober 4, 2016 at 11:27 pm #695272We 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!
October 10, 2016 at 2:20 pm #697340Hi,
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,
AndyOctober 10, 2016 at 9:00 pm #697543Hello, 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!
October 11, 2016 at 11:33 am #697737Hi,
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,
AndyOctober 11, 2016 at 2:10 pm #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!
October 12, 2016 at 4:17 pm #698375Hi,
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 -
AuthorPosts
- The topic ‘WooCommerce Issue after WP Update – Can not add products w/ variants into cart’ is closed to new replies.