5 replies [Last post]
himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
Was this information Helpful?

I want to post a single product in diff. categories.

Suppose, I'm selling men shirts and I have added it in the "mens shirt" category and in "new arrival" category.

The problem is that when I select 2 diff. category the one which is at top while selecting becomes the main category automatically i.e., the url which should show like mens-shirt/product1 will show new-arrival/product1 if new arrival is at top of the category while selecting; when pathauto module is used. I would like to make a compulsory primary category and optional secondary category for the products where compulsory category will be the main url link.

And if there is any other simple and better way then let me know.
Please pm me with your price if you can do this work/settings.

goodeit's picture
Offline
Joined: 05/28/2008
Juice: 322
Re: Ubercart category setting with pathauto module?

Take a look at Drupal's Primary Term module. It may do the trick.

himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
Re: Re: Ubercart category setting with pathauto module?

thanks gooeit, i'll give it a try and will post the review.

sunn's picture
Offline
Joined: 08/28/2008
Juice: 27
Review

What happened to the review? Smiling

-----------------------------------------
Drupal 5.10
ÜC 1.2

himagarwal's picture
Offline
Joined: 06/24/2008
Juice: 295
Re: Review

It didn't worked out.

I used the following settings in pathauto:

1. In node path settings of "product" I used [term-raw]/[title-raw] and
2. In catalog path settings I used [catpath-raw]

So that the "product node url" and "voab. term url" appears as if "product node" is going inside a particular term (<-- I hope it is understandable). But the problem is when multiple terms are selected, the term which is listed at the "top" (in other words, which has least weight value) gets the "product node url".

I thought "primary term" module is the perfect solution for this problem but it didn't worked out as intended.Sad

I would definitely love to have a solution for this problem.Smiling

BigMike's picture
Offline
Joined: 10/20/2008
Juice: 1057
Re: Re: Review

Just found this thread. This doesn't seem to work for me. I just posted in http://www.ubercart.org/issue/2189/manufacturer_and_catalog_links_dont_h... but maybe that is the wrong forum so I am also posting here

I've already configured my catalog so that it links as /family_name/child_name/product_title but recently for some reason they have slowly been reverting back to the /catalog/#/term format

himagarwal wrote:

I used the following settings in pathauto:

1. In node path settings of "product" I used [term-raw]/[title-raw] and
2. In catalog path settings I used [catpath-raw]

So I checked my pathauto and these settings are already present. So I checked to Bulk replace and his Save and it returned with "0 aliases generated"

What am I doing wrong?
Thanks
Mike

EDIT: I just went through my entire catalog 1-by-1 and just manually corrected the links by hand. Thanks