Product Fields - Adding new fields to content types

Posts: 364
Joined: 10/16/2007

Looking at the default 'product' fields in admin/content/types/products/fields in Uber 5.1.2.

There are 6 default fields. Most are all grayed out.
Title
Body
Taxonomy
Image
Base
Shipping

Created another content type and when its fields are displayed two are missing.
(base and shipping). The title, body, taxonomy and image are listed but in a different order.

How can base and shipping be added so that the new product class looks like the default product class. What should be added so that base and shipping show up as in the default product's class when a product is created in node/add/product, etc.

See new content png for a more men's stuff test product class and default content png for the built in default product class.

Thanks

AttachmentSize
default_product.png21.2 KB
new_content.png20.53 KB
Posts: 534
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

When you create the content type, you go in content types/add, or you go to store administration/product/add class ?

I think you have to add a product class, and it will create the content type for you with these extra information.

Posts: 364
Joined: 10/16/2007

Here is what I have found.

Seems that there are two ways to create a product class. Both operate a little differently.

Neither seems to fill 100% of the required needs as listed below:

1) Be an exact duplicate of 'products'.
2) Show up in user access for role assignment.
3) Be able to be deleted in content types.

Using admin/content/types/add produces a new content type.

1) It will NOT duplicate the default 'product' content type.
2) In admin/user/access under user/access mode module, the new content type will be added for editing and creating.
3) New content type will show up in admin/content/types listing and CAN be deleted.

Using admin/store/products/classes produces a new content type.

1) It WILL duplicate the default 'product' content type.
2) In admin/user/access under user/access mode module, the new content type will NOT be added for editing and creating.
3) New content type will show up in admin/content/types listing and can NOT be deleted. It can only be deleted in admin/store/products/classes.

What I would like to do is have both of the above PNG images be the same as in the default 'product' PNG.

The question is how can that be achieved?

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

I do both - add the type at admin/content/types/add then use admin/store/products/classes and choose the exact same class name you created at admin/content/types/add. This magically converts the type to a product.

--

<tr>.

Posts: 364
Joined: 10/16/2007

TR:

That is some magic dust that you have. Your fix is 100% right on. There is no way I would have figured that one out.

Will add this to my notes, so that it does not get lost. Now both the new and default 'product' classes look the same.

Thanks so much for the great suggestion and fix.