Routing with two collections

I have two collections, a Product Categories collection, with a parent / child relationship, and a Products collection. Within the Product Categories collection, I am getting the urls I want, like this: /products/parent, /products/parent/child etc.

My issue is that I would like products, which relate to product categories, to have the url /products/parent/product-name or /products/parent/child/product-name.

My current thoughts on solving this are using a custom route or possibly whether I can mount the products collection on the product categories collection, although I don't think that this is feasible.

All suggestions gratefully received.

Thank you.

Answered by Scott Wilson!
>>>>>>> Answered <<<<<<<
1 Reply
1 Follower