Problem/Motivation

We can expand the user interface and user experience for working with product attributes by simplifying the attachment of attribute fields to variations.

Current workflow:

  1. Create attribute
  2. Edit variation type
  3. Select attribute
  4. Save variation type, attribute added to variation type

Proposed resolution

Proposed enhancement

  1. Create attribute
  2. Select existing variation types to attach to
  3. Save attribute, attribute fields created.

Remaining tasks

  • Add variation type checkboxes to attribute create form
  • On save, run attribute field manager to add them to variation types

User interface changes

Add a listing of variation types to the create form of attributes.

API changes

None

Data model changes

None

Comments

mglaman created an issue. See original summary.

mglaman’s picture

Add screenshots.

mglaman’s picture

Component: Product » User experience
bojanz’s picture

We said we'd want to have the same checkbox on edit as well, to avoid the situation of "Whoops, forgot to select a variation type. Hm, where did the element go? Now what?"

mglaman’s picture

Priority: Normal » Major

Bumping this priority, based on PR https://github.com/drupalcommerce/commerce/pull/566. I think the confusion would have been mitigated by having this up front.

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new4.39 KB

  • bojanz committed d247695 on 8.x-2.x authored by mglaman
    Issue #2817905 by mglaman: When creating a new attribute, allow adding...
bojanz’s picture

Status: Needs review » Fixed

Boom.

Status: Fixed » Closed (fixed)

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