Make the entity bundle (product & line item type) editable from the entity form

Created on 19 June 2012, over 12 years ago
Updated 8 January 2025, 27 days ago

Background

If multiple bundles are allowed by the reference field, instead of having a single "Add" button, IEF also displays a dropdown next to that Add button, where the user needs to select a bundle before launching the add form..
This is the same approach currently used by Commerce in a few places (adding payments or line items).
Internal feedback showed this to be pretty cumbersome from a UX perspective.

Then, two things happened:
1) Commerce Discount designed its IEF form so that the bundle is changeable from the entity form itself (triggering an ajax rebuild on click).
2) A "simple" IEF widget was introduced, that shows only the entity form (and not the whole table and associated actions) when the reference field accepts only one entity of a specific bundle.

Proposal

Let's make the entity bundle always editable from the entity form (if there are multiple bundles allowed for the reference field), which improves the UX of the module, allows the "simple" widget to be used even with multiple bundles.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇱Israel amitaibu Israel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States dcam

    Since Drupal 7 is now end-of-life I am closing some old issues for the 7.x branch of this module. If this issue is still relevant for the 3.x branch of the module, then feel free to reopen it.

Production build 0.71.5 2024