4 replies [Last post]
slayerment's picture
Offline
Uber Donor
Joined: 01/06/2008
Juice: 86
Was this information Helpful?

First of all let me say Ubercart is awesome! I have been messing around with eC3 and eC4 for about a year now and I just have to stop using it, it just doesn't flow right and Ubercart does Smiling. Great work everyone!

Now onto the question:

With the ecommerce module I used to be able to sell any node type no matter whether it was user created or system created. So I could install the image module and then sell image node types. I was wondering if this type of thing was possible with Ubercart.

I have looked through it a bit and found the classes which looks like exactly what I want except I can only do this on node types I create myself, and not system created ones from modules. Is this correct or am I overlooking something?

Any help or posts to read would be extremely helpful. I'll also do some coding if that needs to be done as well.

Thanks,
Quinton

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Is it possible to sell a node type like image

I rather consciously didn't allow any node to become a product when we first started Übercart. Part of this is because it makes answering the question "Is this a product?" kind of hard. Another part of the reason is just to be different from e-commerce. Eye-wink

I later found out that turning custom node types into products would be easy, so that feature was added in. You're right about other modules' nodes, though. The reason you can't do this is because to do that, those nodes would stop being whatever type they were before. In exchange for being a product, images would lose their image-ness. At that point, you might as well just make a new product.

slayerment's picture
Offline
Uber Donor
Joined: 01/06/2008
Juice: 86
Re: Re: Is it possible to sell a node type like image

Thanks for the reply Lyle. So you're saying the way to handle something like image nodes would be to create a new node type and CCK it with the imagefield module?

Quinton

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Is it possible to sell a node type like image

Yes, though you can get the imagefield automatically by creating a new product class. This makes a new node type that is already a product, which puts it in the Catalog vocabulary and gives it an imagefield.

slayerment's picture
Offline
Uber Donor
Joined: 01/06/2008
Juice: 86
Re: Re: Re: Re: Is it possible to sell a node type like image

Perfect, thank you!