12 replies [Last post]
Alaska's picture
Offline
Joined: 10/16/2007
Juice: 1433
Was this information Helpful?

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

PreviewAttachmentSize
default_product.pngdefault_product.png21.2 KB
new_content.pngnew_content.png20.53 KB
zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Product Fields - Adding new fields to content types

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.

Alaska's picture
Offline
Joined: 10/16/2007
Juice: 1433
Product Class

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?

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Product Class

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>.
milplus's picture
Offline
Joined: 11/27/2010
Juice: 149
add fields to products and classes

hi i've same issue and i've followed your instruction. no luck

I added a content type into product from contament mng etc.

I've added a class from store>product with same name.

I've enabled for the privacy UC

but the base fields of the UC products do not display my new one into it;

please if you can tell me if I've missed something.

joachim's picture
Offline
Joined: 12/02/2008
Juice: 49
Re: Product Class

Don't know why you need to bee able to delete the product class at the main node admin -- you can delete it in store admin.
As of the current version of UC, Product classes created within the store get corresponding node creation permissions.

(Aside: it would be much simpler to grasp the concept if they were called product types, rather than classes.)

glennnz's picture
Offline
Joined: 01/20/2009
Juice: 451
Re: Re: Product Class

I'm doing this, but in my new product class, a field that I've defined for a different product class / content type is showing up.

How do I get rid of it?!?!

Thanks

Glenn

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Product Class

Curious... have you gone to Administer > Content management > Content types > Edit ___? There should be a Manage fields tab that lets you check the CCK fields attached to a node type.

glennnz's picture
Offline
Joined: 01/20/2009
Juice: 451
Ryan Yes, done that, but

Ryan

Yes, done that, but there are no fields there!

Glenn

starryeyez024's picture
Offline
Joined: 03/12/2009
Juice: 17
product class taxonomy

I am trying to restrict a coupon code to only be applicable to certain product classes, but I don't know the taxonomy for product classes. (like $nid or $title)

Can anyone help me please? Thanks!

activelyOUT's picture
Offline
Joined: 04/20/2009
Juice: 70
Add product class but no change on

I created a node myevent
I created a product class myevent
Great they are linked.
I edit myevent and get product information

How can I specify that the product class is not shippable and thus no weight or shipping information is needed?

I goto this page after setting up a product class

admin/store/settings/products/edit/fields

The only products that appear are for the Product content type created by Ubercart, not the product class, myevent. Is this supposed to happen or am i supposed to get an option for which product class.

Alaska's picture
Offline
Joined: 10/16/2007
Juice: 1433
Magic Dust Fix

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.

brisbanett's picture
Offline
Joined: 09/26/2009
Juice: 6
add ubercart to another content type

I can't for the life of me find anything on this. This page is the closest but still kind of backward. I have recently learnt how to add fields to content types such as the ubercart product and then sort them in views.

What I don't know is how to make say a content type called "product review" become an ubercart product.

The "Product information
Product module form." that I can see sitting in the field does not show me the code name to add it to a field in other content types. Not only that these are light grey meaning I can't change them (except order).

I also tried looking in views fields that ubercart view uses for products and they don't give me the field names to use either.
I guess these may be the labels but I am getting really confused now, is this even possible

If you want to know the purpose it is that I want to create nodes that get busy as people see them as reviews and then after a while put a price and add to cart button on them. If they see the price from the start it just looks like a shop and people don't like to add content.

I do have ubercart for some products working now and I want them to continue - But the thing I would really like is to create products but not show the usual price and add to cart for certain products but not all.

Please help thank you.

Table Tennis tenergy05.com Ping Pong