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.
- Install drupal commerce and inline entity form:
- commerce_cart
- commerce_checkout
- commerce_ui
- commerce_line_item_ui
- commerce_product_ui
- commerce_product_reference
- inline_entity_form
- Add product node
- Add product reference field to product node.
- Set the field as multiple values.
- Set inline_entity_form as widget
- Set inline_entity_form as widget for product line item"Product" field. (/admin/commerce/config/line-items/product/fields/commerce_product/widget-type)
- Add new product with 3 variations.
- Go to product page
- Choose a different variation from a default one
- See that the default product was added to the cart
Step 4: "Set inline_entity_form as widget for product line item"Product" field." causes the bug.
As not so many users use inline entity form inside line items, the priority of the bug is minor.
I'm not sure if it is a bug of Drupal commerce or Inline entity form.
Comment | File | Size | Author |
---|---|---|---|
Selection_029.png | 22.51 KB | a.milkovsky | |
Selection_028.png | 8.35 KB | a.milkovsky | |
Selection_027.png | 9.88 KB | a.milkovsky |
Comments
Comment #1
a.milkovskyComment #2
a.milkovsky