New Configurable product - selecting existing simple products manually? #2564

Closed
tadhgbowe opened this Issue Nov 30, 2015 · 35 comments

Comments

Projects
None yet
@tadhgbowe

I am creating a new Configurable product via the Admin Panel (based on color). My simple products (children) already exist via a product import. When I click on "Edit Configurations" it takes me down the path of creating new simple variations. I don't want to do this. I simply want to select the existing products.

Interestingly if I go ahead and generate some simple variations via the "Edit Configurations" after the product save I can see a new link "Add Products Manually" beside "Edit Configurations". That's what I want to see the first time around after I inform it that the new configurable product is based on color.

The "Edit Configurations" wizard needs to allow me to select existing products after I've told it what configurable attributes I'm working with e.g. color or size.

Is this a known issue?

Thanks
Tadhg

@p3mbo

This comment has been minimized.

Show comment
Hide comment
@p3mbo

p3mbo Mar 4, 2016

+1 - this seems like a fundamental flaw in the configurable logic.

p3mbo commented Mar 4, 2016

+1 - this seems like a fundamental flaw in the configurable logic.

@RebeccaBrocton

This comment has been minimized.

Show comment
Hide comment
@RebeccaBrocton

RebeccaBrocton Mar 4, 2016

Contributor

+1 - Had the same issue. Definitely needs some love.

Contributor

RebeccaBrocton commented Mar 4, 2016

+1 - Had the same issue. Definitely needs some love.

@kandy

This comment has been minimized.

Show comment
Hide comment
@kandy

kandy Mar 8, 2016

Contributor

@p3mbo, @RebeccaLTroth Can I ask you to review answer from #2703 issue?

Contributor

kandy commented Mar 8, 2016

@p3mbo, @RebeccaLTroth Can I ask you to review answer from #2703 issue?

@RebeccaBrocton

This comment has been minimized.

Show comment
Hide comment
@RebeccaBrocton

RebeccaBrocton Mar 8, 2016

Contributor

@kandy This doesn't seem like a solution, more of a hacky work-around?

Contributor

RebeccaBrocton commented Mar 8, 2016

@kandy This doesn't seem like a solution, more of a hacky work-around?

@jBOKA

This comment has been minimized.

Show comment
Hide comment
@jBOKA

jBOKA May 18, 2016

@kandy I also don't think this is solved. I adressed the problem again in #2703 and described what our problem is. I think I'm on the same path as @RebeccaLTroth here.

jBOKA commented May 18, 2016

@kandy I also don't think this is solved. I adressed the problem again in #2703 and described what our problem is. I think I'm on the same path as @RebeccaLTroth here.

@pboisvert pboisvert assigned antboiko and unassigned kandy May 18, 2016

@pboisvert

This comment has been minimized.

Show comment
Hide comment
@pboisvert

pboisvert May 18, 2016

Anton--please check this flow with the UX team

Anton--please check this flow with the UX team

@antboiko

This comment has been minimized.

Show comment
Hide comment
@antboiko

antboiko May 19, 2016

Hello @tadhgbowe @p3mbo @RebeccaLTroth @jBOKA.

Please let me provide some clarifications. As for now, "Add products manually" isn't available until user defines attributes within "Create/Edit Configurations" wizard. Once it's done "Add Products Manually" appears. As a suggestion, no need to select all values for attributes on Step 2 if user is going to replace them with already existing Simple Products anyway. In other words, user can generate one configuration, then replace it with already existing one and continue adding others manually. I hope this will help.

Additionally, we have internal ticket MAGETWO-50639 in our backlog to revise the flow for configurable product.

Best,
Anton.

Hello @tadhgbowe @p3mbo @RebeccaLTroth @jBOKA.

Please let me provide some clarifications. As for now, "Add products manually" isn't available until user defines attributes within "Create/Edit Configurations" wizard. Once it's done "Add Products Manually" appears. As a suggestion, no need to select all values for attributes on Step 2 if user is going to replace them with already existing Simple Products anyway. In other words, user can generate one configuration, then replace it with already existing one and continue adding others manually. I hope this will help.

Additionally, we have internal ticket MAGETWO-50639 in our backlog to revise the flow for configurable product.

Best,
Anton.

@jBOKA

This comment has been minimized.

Show comment
Hide comment
@jBOKA

jBOKA May 19, 2016

Thanks for your feedback. Appreciate it!

jBOKA commented May 19, 2016

Thanks for your feedback. Appreciate it!

@tadhgbowe

This comment has been minimized.

Show comment
Hide comment
@tadhgbowe

tadhgbowe May 24, 2016

Hi All.

I'm happy to see interest in this issue. antboiko from your comment:

In other words, user can generate one configuration, then replace it with already existing one and continue adding others manually.

I'm sorry this is unacceptable. On Step 2 of Create Configurations we should have the option to "it's okay I don't need to set up new simple variations, they already exist, I just want to select them manually now"

Having to create one unnecessary configuration first will be a headache for clients. Even if they do they have to be careful not to remove that first because the select manually button disappears if there are no associations. Oh it's all fun! :-)

Thanks
Tadhg

Hi All.

I'm happy to see interest in this issue. antboiko from your comment:

In other words, user can generate one configuration, then replace it with already existing one and continue adding others manually.

I'm sorry this is unacceptable. On Step 2 of Create Configurations we should have the option to "it's okay I don't need to set up new simple variations, they already exist, I just want to select them manually now"

Having to create one unnecessary configuration first will be a headache for clients. Even if they do they have to be careful not to remove that first because the select manually button disappears if there are no associations. Oh it's all fun! :-)

Thanks
Tadhg

@antboiko

This comment has been minimized.

Show comment
Hide comment
@antboiko

antboiko May 25, 2016

Hi @tadhgbowe ,

Thanks for your comment. As I mentioned above, we added the ticket to our backlog to revise the flow for configurable product.
As for now, please refer to my suggestion as a workaround with existing flow.

Regarding "...the select manually button disappears if there are no associations.", the fix is already in develop branch and will be also available in one of future patches.

Best,
Anton.

Hi @tadhgbowe ,

Thanks for your comment. As I mentioned above, we added the ticket to our backlog to revise the flow for configurable product.
As for now, please refer to my suggestion as a workaround with existing flow.

Regarding "...the select manually button disappears if there are no associations.", the fix is already in develop branch and will be also available in one of future patches.

Best,
Anton.

@tadhgbowe

This comment has been minimized.

Show comment
Hide comment
@tadhgbowe

tadhgbowe May 27, 2016

Hi Anton.

Many thanks for the update. I know there are lots and lots of potential issues raised here. So it must be a nightmare to keep people up to date. When you say:

"the fix is already in develop branch and will be also available in one of future patches"

That's fine. But imagine how amazing it would be to get a notification saying when it will be launched into production (minor or bug version).

All the best.
Tadhg

Hi Anton.

Many thanks for the update. I know there are lots and lots of potential issues raised here. So it must be a nightmare to keep people up to date. When you say:

"the fix is already in develop branch and will be also available in one of future patches"

That's fine. But imagine how amazing it would be to get a notification saying when it will be launched into production (minor or bug version).

All the best.
Tadhg

@atIOCrON

This comment has been minimized.

Show comment
Hide comment

+1

@valibus

This comment has been minimized.

Show comment
Hide comment

valibus commented Jun 27, 2016

+1

@rosandrest

This comment has been minimized.

Show comment
Hide comment
@rosandrest

rosandrest Aug 25, 2016

would love a patch when it becomes available as i don't want to create variations just to get the add products manually link. thanks.

would love a patch when it becomes available as i don't want to create variations just to get the add products manually link. thanks.

@rgoncharuk rgoncharuk added the PROD label Aug 30, 2016

@piotrekkaminski

This comment has been minimized.

Show comment
Hide comment
@piotrekkaminski

piotrekkaminski Aug 30, 2016

Contributor

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

Contributor

piotrekkaminski commented Aug 30, 2016

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

@SewHappy58

This comment has been minimized.

Show comment
Hide comment
@SewHappy58

SewHappy58 Aug 31, 2016

Still broken in 2.1.1

Still broken in 2.1.1

@mombrea

This comment has been minimized.

Show comment
Hide comment

mombrea commented Sep 14, 2016

+1

@MarekKarmelski

This comment has been minimized.

Show comment
Hide comment
@MarekKarmelski

MarekKarmelski Sep 23, 2016

Updated MCE 2.1.0 to MCE 2.1.1 yesterday, problem still exist

MarekKarmelski commented Sep 23, 2016

Updated MCE 2.1.0 to MCE 2.1.1 yesterday, problem still exist

@robmagento

This comment has been minimized.

Show comment
Hide comment
@robmagento

robmagento Sep 26, 2016

I think this is a major issue in Magento 2. I want to import a bulk list of simple products that build up a configurable product and it's impossible to do so.

I think this is a major issue in Magento 2. I want to import a bulk list of simple products that build up a configurable product and it's impossible to do so.

@mombrea

This comment has been minimized.

Show comment
Hide comment
@mombrea

mombrea Sep 26, 2016

@robertadsoft it's not impossible to do it, it's just a little counter-intuitive. The way we accomplished this after a bulk import was to:

  1. Create our new product attributes and attribute set
  2. Assign all of the individual products to that attribute set and define the attributes
  3. Create a new Configurable product and set it to the same attribute set
  4. Click Add Configurations
  5. Choose all of the configuration combinations and set the option to Skip setting images, prices and inventory
  6. Allow the new virtual products to be generated (they won't be created if you don't save)
  7. For each generated configuration, click the action link and select "Choose a different product"
  8. Click the product that matches this configuration. For any combinations that don't exist, just remove the generated virtual product.

mombrea commented Sep 26, 2016

@robertadsoft it's not impossible to do it, it's just a little counter-intuitive. The way we accomplished this after a bulk import was to:

  1. Create our new product attributes and attribute set
  2. Assign all of the individual products to that attribute set and define the attributes
  3. Create a new Configurable product and set it to the same attribute set
  4. Click Add Configurations
  5. Choose all of the configuration combinations and set the option to Skip setting images, prices and inventory
  6. Allow the new virtual products to be generated (they won't be created if you don't save)
  7. For each generated configuration, click the action link and select "Choose a different product"
  8. Click the product that matches this configuration. For any combinations that don't exist, just remove the generated virtual product.
@jBOKA

This comment has been minimized.

Show comment
Hide comment
@jBOKA

jBOKA Sep 26, 2016

No one said it's impossible, but the way you describe it, which right now
seems the easiest way, is a hacky workaround.

Matt Mombrea notifications@github.com schrieb am Mo., 26. Sep. 2016 um
16:09 Uhr:

@robertadsoft https://github.com/robertadsoft it's not impossible to do
it, it's just a little counter-intuitive. The way we accomplished this
after a bulk import was to:

  1. Create our new product attributes and attribute set
  2. Assign all of the individual products to that attribute set and
    define the attributes
  3. Create a new Configurable product and set it to the same attribute
    set
  4. Click Add Configurations
  5. Choose all of the configuration combinations and set the option to
    Skip setting images, prices and inventory
  6. Allow the new virtual products to be generated (they won't be
    created if you don't save)
  7. For each generated configuration, click the action link and select
    "Choose a different product"
  8. Click the product that matches this configuration. For any
    combinations that don't exist, just remove the generated virtual product.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2564 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AINVhvJ5p_W7mN9mw45tWYFGvkF_ASvQks5qt9H_gaJpZM4GriW8
.

jBOKA commented Sep 26, 2016

No one said it's impossible, but the way you describe it, which right now
seems the easiest way, is a hacky workaround.

Matt Mombrea notifications@github.com schrieb am Mo., 26. Sep. 2016 um
16:09 Uhr:

@robertadsoft https://github.com/robertadsoft it's not impossible to do
it, it's just a little counter-intuitive. The way we accomplished this
after a bulk import was to:

  1. Create our new product attributes and attribute set
  2. Assign all of the individual products to that attribute set and
    define the attributes
  3. Create a new Configurable product and set it to the same attribute
    set
  4. Click Add Configurations
  5. Choose all of the configuration combinations and set the option to
    Skip setting images, prices and inventory
  6. Allow the new virtual products to be generated (they won't be
    created if you don't save)
  7. For each generated configuration, click the action link and select
    "Choose a different product"
  8. Click the product that matches this configuration. For any
    combinations that don't exist, just remove the generated virtual product.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2564 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AINVhvJ5p_W7mN9mw45tWYFGvkF_ASvQks5qt9H_gaJpZM4GriW8
.

@mombrea

This comment has been minimized.

Show comment
Hide comment
@mombrea

mombrea Sep 26, 2016

@jBOKA on the contrary @robertadsoft said it was impossible to do so. I'm not saying it's a good solution but neither is waiting for a fix since it may never come in the community edition.

mombrea commented Sep 26, 2016

@jBOKA on the contrary @robertadsoft said it was impossible to do so. I'm not saying it's a good solution but neither is waiting for a fix since it may never come in the community edition.

@robmagento

This comment has been minimized.

Show comment
Hide comment
@robmagento

robmagento Sep 26, 2016

Hey guys, thanks for the replies.

I actually found a way to import the products and assign the simple products to the configurable products properly using the sample file here: https://www.lexiconn.com/blog/2016/01/magento-2-import-configurable-products/

The trick was that I had to create and use in my file a special attribute set for the configurable products (it popped up when I was trying to create a configurable product using the standard behaviour).

Cheers! :)

Hey guys, thanks for the replies.

I actually found a way to import the products and assign the simple products to the configurable products properly using the sample file here: https://www.lexiconn.com/blog/2016/01/magento-2-import-configurable-products/

The trick was that I had to create and use in my file a special attribute set for the configurable products (it popped up when I was trying to create a configurable product using the standard behaviour).

Cheers! :)

@ScottBadger

This comment has been minimized.

Show comment
Hide comment
@ScottBadger

ScottBadger Feb 24, 2017

I tried the solution offered by @robertadsoft, but after using "Choose a different product" to replace the created configurations with Simple products in the Catalog and then saving, the Simple products disappear.... I've tried every sequence I can come up with of either using "Choose a different product", or "Add Products Manually" and deleting Virtuals from the catalog, but I've yet to find a way to add Simple products to a Configurable product after it's been created.

ScottBadger commented Feb 24, 2017

I tried the solution offered by @robertadsoft, but after using "Choose a different product" to replace the created configurations with Simple products in the Catalog and then saving, the Simple products disappear.... I've tried every sequence I can come up with of either using "Choose a different product", or "Add Products Manually" and deleting Virtuals from the catalog, but I've yet to find a way to add Simple products to a Configurable product after it's been created.

@royvanos

This comment has been minimized.

Show comment
Hide comment
@royvanos

royvanos Mar 14, 2017

We're currently experiencing this issue too, the workaround by @mombrea works, but this shouldn't be the way to go. Please change/fix this!

We're currently experiencing this issue too, the workaround by @mombrea works, but this shouldn't be the way to go. Please change/fix this!

@didactica

This comment has been minimized.

Show comment
Hide comment
@didactica

didactica Apr 6, 2017

Hi @robmagento, can you explain a little bit more what was the trick? You need to create and use a different attribute set for the configurable, different from the simple product's attribute set?

Hope you can help me, thanks a lot!

Hi @robmagento, can you explain a little bit more what was the trick? You need to create and use a different attribute set for the configurable, different from the simple product's attribute set?

Hope you can help me, thanks a lot!

@kingberrill

This comment has been minimized.

Show comment
Hide comment
@kingberrill

kingberrill Apr 19, 2017

just another bug ive come across :(

just another bug ive come across :(

@attiquer

This comment has been minimized.

Show comment
Hide comment
@attiquer

attiquer Jul 12, 2017

Still needs the attention !!

Still needs the attention !!

@rosandrest

This comment has been minimized.

Show comment
Hide comment
@rosandrest

rosandrest Jul 12, 2017

Add to this annoying issue that you use an existing configurable product to duplicate and save
to create a new configurable product and have it show on the front end.

rosandrest commented Jul 12, 2017

Add to this annoying issue that you use an existing configurable product to duplicate and save
to create a new configurable product and have it show on the front end.

@Brendonwbrown

This comment has been minimized.

Show comment
Hide comment
@Brendonwbrown

Brendonwbrown Jul 30, 2017

+1 Still an issue. Well now I'm beating my head against this one.

+1 Still an issue. Well now I'm beating my head against this one.

@juergengp

This comment has been minimized.

Show comment
Hide comment
@juergengp

juergengp Sep 12, 2017

currently i use import/export for creating configurable products automatically. this is also quite a buch of work , because attributes aren't imported like in 1x.

The optional attributes section in the csv file is quite unhandy. i wonder if m2 developers have ever seen a productlist which a merchant from the manufaturer is normally receiving, especially the color and sizes of an article or adding a manufacturer attribute or fabric and whatever you can think about must get stuffed into one single csv field ?

furthermore if, for example the size, has a value which is not predefined in the attribute, you have to add first to the attribute before you can run an import ? hello ? what is the import used for ??

we are selling clothes, having more than 50 brands and every manufacturer uses different sizing, different colornames each season. (2 seasons a year)

currently we have in our old m1-shop about 500 different colors (there are the colorcombinations not included), about 300 different size-descriptions and some other fields with different values. each season == twice a year, everything gets new, new colors, new fabrics, etc .. i wonder, how i should manage that for the future, maybe using a differnet shop-system ?

currently i use import/export for creating configurable products automatically. this is also quite a buch of work , because attributes aren't imported like in 1x.

The optional attributes section in the csv file is quite unhandy. i wonder if m2 developers have ever seen a productlist which a merchant from the manufaturer is normally receiving, especially the color and sizes of an article or adding a manufacturer attribute or fabric and whatever you can think about must get stuffed into one single csv field ?

furthermore if, for example the size, has a value which is not predefined in the attribute, you have to add first to the attribute before you can run an import ? hello ? what is the import used for ??

we are selling clothes, having more than 50 brands and every manufacturer uses different sizing, different colornames each season. (2 seasons a year)

currently we have in our old m1-shop about 500 different colors (there are the colorcombinations not included), about 300 different size-descriptions and some other fields with different values. each season == twice a year, everything gets new, new colors, new fabrics, etc .. i wonder, how i should manage that for the future, maybe using a differnet shop-system ?

@Ctucker9233

This comment has been minimized.

Show comment
Hide comment
@Ctucker9233

Ctucker9233 Oct 24, 2017

+1 on this. @magento-engcom-team we all would love to see this fixed so we can use the product import to more effectively manage large catalogs.

+1 on this. @magento-engcom-team we all would love to see this fixed so we can use the product import to more effectively manage large catalogs.

@AgentGod

This comment has been minimized.

Show comment
Hide comment
@AgentGod

AgentGod Feb 13, 2018

In my opinion, on product bulk import, each product-variation should be by its own, own link, own SKU. After import, there should be option to select several products and mark them as configurable.
When open that product in frontend by clicking each configuration, it should reload (ajax if possible) it's own url, SKU and stock status.

In my opinion, on product bulk import, each product-variation should be by its own, own link, own SKU. After import, there should be option to select several products and mark them as configurable.
When open that product in frontend by clicking each configuration, it should reload (ajax if possible) it's own url, SKU and stock status.

@Nil79

This comment has been minimized.

Show comment
Hide comment
@Nil79

Nil79 Feb 21, 2018

Hello, I have noticed that this issue reflects itself also during creation of configurable products programmatically.
Magento2 allows to create new configurable products with its simple associated products (and this works fine, also if the code necessary to accomplish this, is a little bit a headache).

If for some reasons we remove all the associated products from configurable and try to execute this code (where $ids is the array of simple products IDs):

        $product->setCanSaveConfigurableAttributes(true);
        $product->setAssociatedProductIds($ids);
        $product->save();

nothing happens, as if it would be impossibile to associate existing simple products to the configurable product.

Instead if we have already some simple products associated to the configurable and we want to add new simple products, this snippet of code works fine.

I don't know if report it as a new Issue, but I think that it is related to this one.

Please let me know if I need to open a new issue post! Thanks.

Nil79 commented Feb 21, 2018

Hello, I have noticed that this issue reflects itself also during creation of configurable products programmatically.
Magento2 allows to create new configurable products with its simple associated products (and this works fine, also if the code necessary to accomplish this, is a little bit a headache).

If for some reasons we remove all the associated products from configurable and try to execute this code (where $ids is the array of simple products IDs):

        $product->setCanSaveConfigurableAttributes(true);
        $product->setAssociatedProductIds($ids);
        $product->save();

nothing happens, as if it would be impossibile to associate existing simple products to the configurable product.

Instead if we have already some simple products associated to the configurable and we want to add new simple products, this snippet of code works fine.

I don't know if report it as a new Issue, but I think that it is related to this one.

Please let me know if I need to open a new issue post! Thanks.

@dmarkos

This comment has been minimized.

Show comment
Hide comment
@dmarkos

dmarkos Jun 25, 2018

I am having same issue with @ScottBadger . M2.2 , any ideas?

dmarkos commented Jun 25, 2018

I am having same issue with @ScottBadger . M2.2 , any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment