0

I have products with the same variation. From product edit form I can only add new variation. In variations field form setting i haven't "Allow users to add existing products."

enter image description here

how can i have this option or How can add existing variations?

1

The option you're looking for is not present on purpose (and the widget itself is different despite how it worked in Drupal 7). Every product has its own variations that cannot be shared, so there's no way to reference the same variation from multiple products.

If you need to sell the same thing from multiple contexts, what you probably need is some other entity that references the same product, not a standalone variation. Products:variations have a very clear parent:child relationship ... they're "variations" of the main "product".

0

I'm not as familiar with D8 commerce but should be the same. If you edit the product field on your product display content type you can tick "Allow users to add existing products."

That will allow the option to add existing variants

  • I updated my question. I haven't that option. – Fabio Riva Apr 24 '18 at 17:17
  • Also, that would break Drupal Commerce and it's data model. Variations have a reference to their product. So overriding this feature would break unexpected things. – Matt Glaman Apr 25 '18 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.