Defines the inline entity form for line items.
The same as it's done for Product Variations.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vasike created an issue. See original summary.

vasike’s picture

Status: Active » Needs review
FileSize
1.33 KB

there is patch for this
Build LineItemInlineForm for Order line items.

mglaman’s picture

Update to use \Drupal\Core\StringTranslation\StringTranslationTrait for translation.

vasike’s picture

There is a new patch
Update for previous patch (#2) : Add submission handler for LineItem, to set the LineItem title from purchased entity selected.

@mglaman : for now we'll keep the t(), StringTranslationTrait probably it should go in IEF, and then maybe used here.
but thanks a lot.

vasike’s picture

forgot the patch file

mglaman’s picture

vasike makes sense!

bojanz’s picture

Status: Needs review » Fixed

Moved the logic to an #entity_builder so that it integrates more cleanly with IEF, and committed.

  • bojanz committed bc9ed14 on 8.x-2.x authored by vasike
    Issue #2619238 by vasike, mglaman: Defines the inline entity form for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.