Download & Extend

pathauto does not create aliases for commerce product-display

Project:Pathauto
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

pathauto does not create aliases for commerce product-display content types (?) during bulk update of content aliases. Other content types (articles, basic, and other ones I have created myself) are updated with aliases. Is the configuration of commerce module actually preventing this, or is this a pathauto bug?

Comments

#1

I've just run into the same problem. The same issue for me re-worded is:

How can I set my product display pages to use a typical [node:field-x:parent]/[node:field-x:name]/[node:title] ?

I.E. as above, there doesn't seem to be an URL alias available.

Dat right?

Q

#2

@laurence. not sure if this will help you but after reading a fair few others posts on this I settled using the token/entity API combination which allowed me to use the following replacement pattern: [node:menu-link:parents:join-path]/[node:title]

This pattern has the advantage of not need a product display url as long as you already have defined menu paths, which I did. A further advantage is that you can change the menu path without having to update the pattern which is the reverse of what I was trying to do originally, which was to find a way (alias) I could overwrite to create a new menu/url path.

Might not help you, but it did me.

Q