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?

no variations

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bojanz’s picture

You 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.

newmember’s picture

bojanz,
You are correct.

I do not see where "Inline Entity" is a dependency.
I checked all the backoffice modules I am using.

newmember’s picture

Status: Active » Closed (fixed)
bojanz’s picture

Title: Product variations * missing when adding new Product » Inline Entity Form not listed as a dependency
Version: 7.x-1.4 » 7.x-1.x-dev
Category: Support request » Bug report
Status: Closed (fixed) » Active

Commerce 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.

vasike’s picture

Imho 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.

Watergate’s picture

In 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..

mglaman’s picture

Status: Active » Needs review
FileSize
456 bytes

Patch to add IEF as dependency. I think it makes sense, as IEF extends the simplicity for a store administrative backend.

adam1’s picture

Thanks for this thread – saved me hours of bug-searching!

spgd01’s picture

Any luck getting this patch committed?