Product variant bulk creation

Created on 25 June 2016, about 8 years ago
Updated 23 May 2024, about 1 month ago

UPDATE: This functionality is now implemented on the Commerce Bulk module:

https://www.drupal.org/project/commerce_bulk β†’

This is a long-standing problem in 7.x that has a bunch of work-around / contrib but not a real solution.
https://www.drupal.org/project/commerce_bpc β†’
https://www.drupal.org/node/1777254 β†’

Case:
A shop-owner sells products that have attributes. For example t-shirts with the sizes S,M,L.
Instead of adding those 3 variations manually, they should be created automatically. The shop-owner can than later edit those variations.

Talked about this with @bojanz and we thought a UX-centric approach would be best to solve this.
Magento and Shopify have good solutions for this.

As a starter here my 3-cents:
Variations have required fields, like sku and title. We may need a multi-step where you can add these static fields upfront.
All combinations of attributes (Small+Medium+Large x Red+Green) is called a cartesian-product.
Because this is an edge case, it should be resolved in contrib. Discussion can be done here though.u

✨ Feature request
Status

Needs review

Version

3.0

Component

Product

Created by

πŸ‡³πŸ‡±Netherlands ndf Amsterdam

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

    I think this is still a typical and important functionality for Shops with attribute-focused products.
    Creating all product attribute combinations as variations is cumbersome. So I think it would be great to hear what the maintainers / Centarro people think about this and if it should stay in contrib or would make sense to add as a submodule in Commerce.

    Most eCommerce systems I know have such a feature to generate variations from product attribute combinations. So I think it's not untypical.

Production build 0.69.0 2024