With the current release version of BPC I noticed that the Product Display version did not work. I also noticed a lot of effort was put into handling multiple forms, and this limited some of the other features of the module. Due to this I went ahead and rewrote a lot of the code. Here is a brief summary of some of the things I did:

  • Fixed product display (#1645866)
  • Moved Product Display selection to be on the main form
  • Removed need for a second "Create Products and Display" button
  • Removed requirement Product Display must be predetermined
  • Changed the predetermined Product Display to be the default selected Product Display
  • All settings should now be fixed
  • Removed some functions no longer used/needed (this should make the code more maintainable).

Current ToDo:

  • Code cleanup
  • Improve documentation
  • Add support for Commerce Back Office
  • Allow users to dynamically relate taxonomy terms to product values. (All red shirts show the same image.)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ThisIsDog’s picture

FileSize
11.79 KB
discipolo’s picture

discipolo’s picture

just tested this patch on a fresh install. (against 1.x-dev)

variations are created but the product_node title and variation fields arent being prepopulated (#1645866: Doesn't populate Inline Entity Form) it does fix the problem of #2118407: Bulk Product Creation Form - Choose Display Node type displays no existing content types though

ThisIsDog’s picture

This use case is working for me in 7.x-1.0-rc6 (The version I wrote this patch for). Is there a particular feature in 1.x-dev that you needed?

ThisIsDog’s picture

These are the fields you were having trouble with in dev, right? I took this screenshot running my patch in rc6.

discipolo’s picture

does that work with inline_entity_form (selected as widget for commerce_product reference field)? looks like you are using autocomplete widget? (https://drupal.org/node/1645866#comment-8858917)