I've just discovered, that in breadcrumbs I've different path to taxonomy term from product categories vocabulary, then from taxonomy menu (from the same vocab). And with different function (one is ok, other is bad)
For example:
In taxonomy menu: "Cool products" has path (taxonomy/term/20) – working OK, but its not aliased.
In breadcrumbs: "Cool products" has aliased path (cool-products) – gets 404 with warning abou infinite loop
In database (url_alias table): there are no taxonomy/term/tid from products vocabulary, but insted some product_category/tid as source for aliasing.
And I need to use the aliased form all the time.
When I create new term in Tags vocabulary, it's working OK (eg. in DB it has source taxonomy/term/tid and it has correct alias on the site).
Where does this product_category source comes from? It's working as intended? Do I have to make my own vocabulary for products and trash the original one?
Thansk for answer.
p.s. I'm doing my first shop on drupal commerce so obviously I run into some problems, but in comparison with Übercart its a breeze. :)
Comments
Comment #1
rszrama commentedI'm pretty sure you're using Kickstart, since Drupal Commerce core doesn't offer any sort of taxonomy integration. Moving to that queue. Thanks for the kind words. : )
Comment #2
petr illekYes Ryan, you are corect. I've just found that in commerce_kickstart_taxonomy.module is following part which, I hope, is responsible for the behavior described above.
So the solution with new vocabulary should work. Maybe there might be some note somewhere, that this path override is used.
Its safe for me to disable all kickstart modules if I have already add some products, set up the taxes, pricing and shipping rules? Or it will mess everything if I do it in this stage?
Comment #3
jsacksick commentedDuplicate of #1878088: Commerce Kickstart taxonomy menu generates links towards vocabulary/term-id instead of vocabulary/term-name