Discussions

Clone a Product Type ?

Hi,

Forgot to ask that in my last post but it's could be nice to be able to clone a product type which share 90% of fields,...

Thanks,
Florent

Posted: Jul 9, 2011

Comments

Florent on July 11, 2011

I'm not sure to understand Rfay : english,D.C and personnal limitation ;o).

If i create a Product Type "Book" and i want to create a product type "ebook". A lot of fields will be the same. So tha ability to clone Book to Ebook, could be great !

An other question ? Is Product Type is "exactly" the same than a content type. Can you had cck field without restriction, just like a content type ?

Thanks
Florent

AdamGerthel on July 12, 2011

It's not exactly the same thing, since they aren't content types. "Content type" is a certain type of entities, called 'nodes'. "Product type" is another kind of entities. However, since entities are field:able, you are able to add all kinds of fields (like CCK, but it's not called CCK in D7).

Florent on July 17, 2011

Can you play (add fields) with a product type like a content type ? Or do we have to take care of some limitations ?

WebmistressM WebmistressM on June 10, 2012

I would like to be able to re-use alot of the setup of one product type. For example:

Simple Product
Product With Required Attributes
Product With Multiple Images
Product With Multiple Images and Required Attributes
Product for Multiple Product Display
Product for Multiple Product Display With Multiple Images
Product for Multiple Product Display With Required Attributes
Product for Multiple Product Display With Multiple Images & Required Attributes

A good portion of these have common fields so this is gonna get crazy if I must make these manually without use of a "clone this product type" option.

maxchock on August 17, 2012

can't agree more. I thought this is just a simple thing but apparently I am wrong..

alexanansi alexanansi on January 2, 2013

+1
I'd really like to see this, getting fed up of creating multiple product types that are almost exactly the same!

drupalcommerce Check out the #Drupal Commerce 2.x Roadmap to see where you can get involved: http://t.co/WAc3jmXY2a
drupalcommerce A new blog discussing the new showcase listing http://t.co/FHOzhAg3tl http://t.co/J5C87imjhb
drupalcommerce RT @drupalcon: Thanks @CommerceGuys and @CommerceJohn for your support, and for #CommerceKickstart! Take the tour http://t.co/ivKEYH7k0o
drupalcommerce Updating our extensions directory: 665 new or updated modules, distributions, sandboxes, & themes. http://t.co/6NMMofYo12 #weloveyouguys