When a site already has a 'product' content type...

Posts: 6
Joined: 08/12/2007

I am having a problem converting one site to use Ubercart. There is an already defined content type called 'product'
By default it doesn't have any special fields, each product on the site is a simple node with file attachments.

However, after installing Ubercart (and the related modules) the ubercart-like product properties (fields) are missing.
When I click /node/add/product, I only get the good-old form, no SKUs or Dimensions.

What do you suggest on configuration or anything has to be done before ubercart install.

Site runs Drupal 5.7, and I'm trying to evaluate the Ubercart version available at the Drupal project page. Any suggestions welcome.

Posts: 43
Joined: 12/09/2007
Bug FinderEarly adopter... addicted to alphas.

You can not have 2 of the same named content types in Drupal.

Posts: 1212
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Yeah if you already have a content type called product you'll need to remove it first and then re-install Ubercart.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 6
Joined: 08/12/2007

But I am curious is there a solution which extends my original product node-type with ubercart product properties.

Posts: 2083
Joined: 08/07/2007
AdministratoreLiTe!

Interestingly, if it was called anything other than 'product' you could create a product class out of it. Basically the uc_product module would take control of that node type and start using it as a product. You can only do this for user-created node types because module-created node types would lose the functionality that the module first gave to them. And that's not what you want, generally.

That's a roundabout way of saying that the Product node type doesn't do that because the module is trying to add the node type to Drupal from scratch.

Posts: 6
Joined: 08/12/2007

Luckily it was only a user-created node, so after renaming the original product type and installing Ubercart, I added a product class with the renamed node type and it worked fine. Thank you for your help.