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.
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.)
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2014-06-11 at 8.58.48 AM.png | 65.64 KB | ThisIsDog |
#1 | commerce_bpc-2282659.patch | 11.79 KB | ThisIsDog |
Comments
Comment #1
ThisIsDog CreditAttribution: ThisIsDog commentedComment #2
discipolo CreditAttribution: discipolo commentedComment #3
discipolo CreditAttribution: discipolo commentedjust 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
Comment #4
ThisIsDog CreditAttribution: ThisIsDog commentedThis 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?
Comment #5
ThisIsDog CreditAttribution: ThisIsDog commentedThese are the fields you were having trouble with in dev, right? I took this screenshot running my patch in rc6.
Comment #6
discipolo CreditAttribution: discipolo commenteddoes 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)