Closed (fixed)
Project:
Commerce Product Option
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
31 Jan 2015 at 22:55 UTC
Updated:
2 Sep 2025 at 17:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedDo you get any errors? Any messages in the log?
Comment #2
nelslynn commentedI'm having this issue to. The option values don't show up in the view because they are not in populated in the database (commerce_option table shows no values for the options associated with the product). This just started happening after upgrading to Commerce 7.x-1.1.
I'm here to test... seems like a pretty serious issue as it's trickling down to all order notifications, order fulfillment, etc.
Comment #3
Anonymous (not verified) commented@nelslynn: I've checked my database. You are right. If I add something to my cart "commerce_option" stays empty.
"Views integration with Commerce 7.x-1.11" doesn't seem to be a good title for this issue. Let's rename it.
Comment #4
Anonymous (not verified) commentedI'm thinking it is this commit: https://www.drupal.org/node/2332333 that causes the issue. Will investigate.
Comment #6
Anonymous (not verified) commentedPushed a fix. Please test the latest dev.
Comment #7
Anonymous (not verified) commentedComment #8
nelslynn commentedThanks for the quick fix. Unfortunately, I just noticed I'm using version 7.x-1.0-beta2+34-dev of Commerce Product Option. Will there be a fix for this version 7.x-1.0-beta2+34-dev? Do I need to start another issue?
Or, any suggestions on how to upgrade to version 7.x-2.x-dev, as it states it's not recommended to upgrade to the 2.x branch.
Comment #9
Anonymous (not verified) commentedI've updated the 1-x branch as well, please test and let me know if it works.
Comment #10
Anonymous (not verified) commentedFix works perfectly for me. Thanks!
Comment #11
bendev commentedThe fix in 1-x branch dev version works for me as well.
Thank you !!! very much appreciated
Comment #12
Anonymous (not verified) commentedYou're welcome :)
Comment #13
wolvern commentedTested #6 with commerce 1.11 and commerce_option-7.x-2.x-dev. The table commerce_option is still empty after adding items to cart. Option values are also unavailable in views via the aforementioned relationship.
Comment #15
nelslynn commentedTested commerce_option-7.x-1.x-dev with commerce 1.11 and it's still not working for me either. The table in commerce_option is still empty, and option values are unavailable in views. I think this should be open again until this works proper in all situations.
Comment #16
anybodyI can confirm #15 which currently completely breaks the store functionality!
I'm setting up the priority to Critical though.
commerce_option-7.x-1.x-dev and commerce 1.11! Caches cleared, etc.!
Comment #17
anybodyUpdate: I was finally able to fix it by also applying the patch from commerce_pricing_attributes.module (#2420303: Problems with display update and cart pricing after Commerce 7.x-1.11 update) which I was also using. So I'll mark it as related to help others.
Both problems seem to be based on the same change in DC mentioned above.
Thanks a lot for your hard work!
Finally: I think a new stable release should be created because the current one does not work anymore with the latest DC version.
Comment #18
bluesman2014 commentedI agree. I tried applying the patch you mentioned @Anybody (from #20) but my options still aren't saving.
Any news on a new release?
Comment #19
Anonymous (not verified) commented@saulelis I have tested the latest dev of commerce_option (2.x branch) with Commerce 1.11 on a few local installs, it works fine for me. Can you maybe elaborate on your setup?
As for the 7-1.x version, I can hardly keep up with the 2.x version so it is doubtful there will be a new release soon for the branch, or a fix for the problem. Everyone is of course welcome to contribute patches.
Comment #20
bluesman2014 commentedWill there be a (non-dev) 2.x release soon?
Comment #21
Anonymous (not verified) commentedClosing this issue. I can't see any problems with the 2.x branch and the latest commerce release.
@bluesman2014 I don't know really ... Although quite stable, I feel the current dev still needs some more testing.
Comment #22
benjifisherFor reference, I am attaching a patch based on what @samspinoy already committed.