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.
If a product type has not been created, products can still be built without any type set.
Comment | File | Size | Author |
---|---|---|---|
#2 | not_existing_type_fix.7.x.patch | 845 bytes | henryhu |
Comments
Comment #2
henryhu CreditAttribution: henryhu commentedI created a patch to fix it: using default type in the case.
Comment #3
AndyF CreditAttribution: AndyF commentedHi, thanks for taking the time to share.
Sadly there's a major rewrite of this module waiting in another issue (#2016561: Why should the user still select a bundle?), blocked on a patch landing in Commerce Feeds. I've created a new branch for work done in the meantime and added your fix, slightly modified.
1331a8c
By the way, for future reference if you submit a patch, you can submit it against -dev and mark the issue as needs review.
Thanks again