Ubercart category setting with pathauto module?

Posts: 93
Joined: 06/24/2008

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.

Posts: 110
Joined: 05/28/2008

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

Posts: 93
Joined: 06/24/2008

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

Posts: 13
Joined: 08/28/2008

What happened to the review? Smiling

--

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

Posts: 93
Joined: 06/24/2008

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