Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Home ->Administration ->Store ->Configuration
Add product variation type
'Food Card'
Home ->Administration ->Store
Add product
Home -> Add content
'Food Card'
Create Food Card
Product variations *
The drop down option to select a 'Product variations' is empty.
How do I populate the required "Product variations *" field?
Comment | File | Size | Author |
---|---|---|---|
#7 | inline_entity_form_not-2177977-7.patch | 456 bytes | mglaman |
no-variations.JPG | 32.37 KB | newmember |
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedYou don't seem to have Inline Entity Form installed, even though it is a dependency.
That's why you get the empty dropdown instead of a proper widget. Odd.
Comment #2
newmember CreditAttribution: newmember commentedbojanz,
You are correct.
I do not see where "Inline Entity" is a dependency.
I checked all the backoffice modules I am using.
Comment #3
newmember CreditAttribution: newmember commentedComment #4
bojanz CreditAttribution: bojanz commentedCommerce Backoffice Product lists Inline Entity Form as a dependency on the project page but it's not listed in the module info file. That's the problem.
We should also see if it's possible for the dependency to remain optional, but right now it seems that the answer is no.
Comment #5
vasikeImho this is Drupal commerce - Product reference issue when there are no products available for the selection.
So maybe we better move this to Drupal Commerce queue as an issue of the Product reference field widgets.
Comment #6
Watergate CreditAttribution: Watergate commentedIn my opinion when the Inline Entity Form module is listed as a dependency on the project page, it should certainly be added as a dependency in the .info file(s).
When I installed the Commerce Backoffice module (I installed all of the (sub)modules), I forgot to install the Inline Entity Form module. The result was a broken site..
Comment #7
mglamanPatch to add IEF as dependency. I think it makes sense, as IEF extends the simplicity for a store administrative backend.
Comment #8
adam1 CreditAttribution: adam1 commentedThanks for this thread – saved me hours of bug-searching!
Comment #9
spgd01 CreditAttribution: spgd01 commentedAny luck getting this patch committed?