I'm making a site that has multiple level terms. For example taxonomy > parent_term > child_term > node but I noticed there are no replacement tokens that can be used to build the url that will show the parent term in the url if the node is added to a child term. Say site.com/taxonomy/parent/child/my_node instead I get site.com directory site.com/taxonomy/child/my_node or site.com/taxonomy/parent/my_node depending which term is selected.
Only token I see for node url's is [node:field_category] where category is the name of Term reference field. In Drupal there were more token options for example fro another D7 site I have [node:field-product-category:parent:name]/[node:field-product-category:name]
There is a [term:parent:name] for Taxonomy/terms patterns.
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE