Home › Forums › WoodMart support forum › Can’t add variable products to cart after selecting options
Can’t add variable products to cart after selecting options
- This topic has 12 replies, 3 voices, and was last updated 10 months, 3 weeks ago by Hung Pham.
-
AuthorPosts
-
January 17, 2024 at 12:16 am #530565
ahmedmohiddinmdParticipantAfter selecting the product options product is not adding to cart it’s promting that please select some product options before adding to cart
- This topic was modified 11 months ago by ahmedmohiddinmd.
January 17, 2024 at 2:09 am #530589
jackennilsParticipantI have the same issue after I have updated to WooCommerce 8.5.1. Did you do the update as well? But I also have the issue with Storefront theme, so I don’t think it’s related to Woodmart.
January 17, 2024 at 7:43 am #530613
ahmedmohiddinmdParticipantYes running the Woocommerce latest version 8.5.1
January 17, 2024 at 12:06 pm #530716
Hung PhamKeymasterHi ahmedmohiddinmd and jackennils,
Thanks for reaching to us.
I tested your site on my local, I could added variable products to cart, please see recorded video https://screenpal.com/watch/cZVbQhVJDcE
Please clear browser cache and check again.
Regards,
January 17, 2024 at 8:47 pm #530954
jackennilsParticipantI’m using WP-Optimize as caching solution. When I disable it, selecting variations is working again. However, adding an item to the cart does not work. The cart stays empty even if I get the message that it was added to the cart.
January 17, 2024 at 9:28 pm #530960
jackennilsParticipantLet me give you a quick update about my findings:
– Not being able to select variations is definitely tied to WP-Optimize in my case. (Screencast: https://lumiqy.de/WC8.5.1_issue_20240117.mp4)
– Items not being added to the cart after selecting a variation is caused my OMGF plugin in my case. (Screencast: https://lumiqy.de/OMGF_WC8.5.1_issue_20240117.mp4)2 related issue but different causes. Both issues occur with Storefront as well, so I guess it is not related to Woodmart.
At least in my case. I’m now in contact with support of WooCommerce, WP-Optimize and OMGF. It seems WC 8.5.1 brought some changes which were probably not intended…
- This reply was modified 10 months, 4 weeks ago by jackennils.
January 18, 2024 at 11:00 am #531068
Hung PhamKeymasterHi jackennils,
Thanks for your details.
Once you identified WP Optimize plugin caused the issues, I kindly recommend you go through each options to find out which specific option caused that, usually it related to JS or CSS options.
Regards,
January 19, 2024 at 7:23 pm #531672
jackennilsParticipantThanks Hung!
I get this error in my debug log:
[19-Jan-2024 16:10:30 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/w01a4bb6/web/staging-lumiqy2/wp-content/plugins/wp-optimize/minify/class-wp-optimize-minify.php:131) in /www/htdocs/w01a4bb6/web/staging-lumiqy2/wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php on line 2311
January 20, 2024 at 12:52 pm #531776
Hung PhamKeymasterHi jackennils,
Thanks for your details.
Please disable WP Optimize plugin, clear debug log and check again.
Regards,
January 20, 2024 at 4:08 pm #531823
jackennilsParticipantHi Hung,
I figured out it is only a specific feature of WP-Optimize with is having a conflict.
It offers JS and CSS minification. And I can leave both options on, the only thing which is not working is the merging of multiple JS files into one file which is causing the issue of not being able to select a variation.
This came with the update of WC 8.5.1. So maybe there is a incompatibility between Woodmart and WC 8.5.1 which is the root cause for the WP-Optimize issue?January 21, 2024 at 6:11 pm #531954
Hung PhamKeymasterHi jackennils,
Thanks for your details.
Please keep options activated, clear debug log and double check.
Let me know how it goes.
Regards,
January 22, 2024 at 1:43 am #531993
jackennilsParticipantWell, everything is working as long as the merging of JS files is disabled in WP-Optimize. No errors. Just working as intended.
However, I still guess that something has changed with WC 8.5.1 so that combining the JS files of WC and Woodmart leads to this issue. Fortunately, it is a minor problem that hardly affects pagespeed noticeably. But it’s there.
January 23, 2024 at 7:35 am #532466
Hung PhamKeymasterHi jackennils,
Thanks for your pointing out.
I will discuss with our developer about this, I will get back to you with more updates while I keep this topic opening.
Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register