4 replies [Last post]
dpatte's picture
Offline
Joined: 08/24/2009
Juice: 8
Was this information Helpful?

I'm new to drupal/ubercart, and have set up a small store with products.

I have two questions:

1) I just noticed that the URLs to my products are, for example, www.flatwarefinder/node/82

I was expecting them to say www.flatwarefinder/product/82 , since the documentation suggests that it is supposed to do this. Have I set up something incorrectly, or did I just mis-read the documentation?

2) unrelated, I realize now that I should use differnt product classes. I created a new product class 'cutlery'. What is the easiest way to move my current products to the cutlery class without re-entering all the data. Is it sufficient to change the 'type' in the node table to cutlery, or are other changes required in the database to support the re-typing of the products. Im concerned about content_type_product and content_type_cutler tables, or others.

Thanks

deepakg83's picture
Offline
Joined: 07/24/2009
Juice: 187
Re: path to product is /node

For the first part , it is supposed to be coming in as node only, so its all fine. For simple reason that "everything" (not to be taken literally) in drupal is node.
When we add a product , the site url is http://sitename.com/?q=node/add/product

Are we using "cck" module to set up the cutlery class? Because in that case, drupal will be putting in values in whole lot of tables for us to find out. One has to look into db , and check if it works fine Smiling

It can work, but you need to test it once, before comitting it to live. It should , in my opinion work .

Deepak Gupta

jrowny's picture
Offline
Joined: 01/08/2009
Juice: 297
path

If you enable the core path module and download the PathAuto/Token modules, you can configure your products to show up with whatever URL you like. Be careful with pathAuto settings because the links to your products could change when the title changes.

adamo's picture
Offline
Getting busy with the Ubercode.
Joined: 02/17/2009
Juice: 229
Re: path

Also get Path Redirect. If your title changes and a new path is created, it can create a permanent redirect from the old path automatically. Also get Global Redirect.

Changing the type of a node isn't trivial... I would avoid creating separate product classes unless you really need them.

dpatte's picture
Offline
Joined: 08/24/2009
Juice: 8
nodes

Thanks for everyones help.

I think I'll leave my product nodes as is for now until i get more experience with the system.

I'm very pleased with UC so far.