Dynamic Product Attributes

Created on 7 October 2018, about 6 years ago
Updated 20 August 2024, 4 months ago

Is there any way to setup product attributes in a more dynamic way? The store I am building has many different types of products all of which have the same basic fields apart from the attributes. In some cases, there may only even be 1 product that uses a particular attribute set. This means, that a new product type and variation type have to be created, and configured for each one of these which is far from practical. Is there any way to make attributes work closer to how Shopify handles them? Each product can have its variant options created on the fly without having to do a tonne of work before-hand.

I guess another way to solve my problem is to allow multiple variation types for each product type rather than having that locked. With the 1 to 1 relationship of product type to variation type, I am not understanding the need for them being separated at all in the first place.

💬 Support request
Status

Active

Version

2.9

Component

User experience

Created by

🇨🇦Canada Noregrebt

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.

  • 🇩🇪Germany Anybody Porta Westfalica

    @GiorgosK you're right that Drupal Commerce still falls short in this context.

    Even for smaller shops with attribute based products it's really really hard to manage them in comparison to many other eCommerce systems I know. Most of them have batch tools with filtering, selection and bulk generation built in.
    Then this can be really useful and the concept @bojanz talked about in #3 can work well.

    For other cases you may use order item types, which allow exposing configurable fields to the add to cart form (for example when configuring something like a plate and the user needs to enter the measures).
    Drupal Commerce provides wonderful concepts to make all that possible, but my personal oppinion is that it still needs more out of the box features for better UX / SBX as people evaluating Drupal commerce get tired on the complex way and use other systems instead. Sometimes this also happens to me after > 15Y of Drupal experience. One example is the product variation generation from attributes above...

    (No offence, this is open source and community job for all of us - I'm just telling what's my personal experience and opinion with the current state compared to the competitors and I very much hope to push things forward together!)

  • 🇨🇴Colombia kayograco

    I'm working on an art e-commerce, and I have infinite aspect ratios.

    It would be nice to have the option "Custom attribute" under "Element type", and then just have a text field to manually input the value when adding variations.

Production build 0.71.5 2024