I'm new to Drupal Commerce, and I want sell clothing articles. For the clothing articles, I created a view with a content type including fields like name, price, article-number, etc.

Now I want to create a shop with product types. Can I just import the content types into the product types or do I have to add new product types and then create all the articles over again? What is the best way to add products to my shop?

closed as primarily opinion-based by Mołot, Scott Joudry, Елин Й., Krishna Mohan, kenorb Jan 11 '16 at 10:21

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.


It sounds like you have your "content type" confused with your "product type". With Drupal Commerce, you need to add "products" which are of a particular "Product Type". Each product has at least a title, a SKU, and a price, but you could have more fields like size for example. You then attach the products to a product display node so that they are visible in the shop. A Product Display Node is a regular content type node with a product reference field that points to the product type entity.

You may be asking why do I need both product entities and product display entities? This is for the situation where you have multiple products included with each display. So if you have a clothing article that comes in small, medium and large sizes and is also available in either blue or green, then you have 6 SKUs for this clothing article. You would have 1 product display entities with product references to the 6 SKUs.

Your content type that is the product display should include the name of the product, the general description of the product and maybe an image of the product, etc. Your product type will have the SKU, the price, and any other fields that are unique to the SKU.

Read more (and probably better constructed examples) at the Commerce Guys site

  • Bart, the best way to say thanks is to mark the answer as the answer ;) ... I would add, maddentim, that while you never have to truly duplicate (as bart asked) it will feel like you're duplicating things because we have a separation between display (nodes) and stock keeping units (SKUs, products with prices). – joshmiller Jan 8 '16 at 21:16

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