Have your say in Community Polls: What was/is your greatest motivation to start your own business?

DAWN 15.0.0 - How do you create a path/trail from collections to product in URL?

Solved

DAWN 15.0.0 - How do you create a path/trail from collections to product in URL?

Boomdeleon
New Member
12 0 0

Hi everyone! 

 

DAWN THEME 15.0.0

 

I'm trying to update the url structure to include the collection name when you click on a product.

 

Instead of having product/jabonera I want collections/bathroom/product/jabonera for example.

 

I have seen many way to do it online adding within:collections to the product liquid file. But I can't seem to accomplish it. 

 

Please help! 

 

P.S. this is a repost from another member... Please advise if anyone knows how to achieve this in the updated Dawn.

Accepted Solution (1)

WalkYourStyle
Trailblazer
450 54 70

This is an accepted solution.

Shopify's URL structure does not support nested paths like `/collections/{collection-handle}/products/{product-handle}`.
You an only have /products/{product-handle} or /collections/{collection-handle}

View solution in original post

Replies 2 (2)

WalkYourStyle
Trailblazer
450 54 70

This is an accepted solution.

Shopify's URL structure does not support nested paths like `/collections/{collection-handle}/products/{product-handle}`.
You an only have /products/{product-handle} or /collections/{collection-handle}

Boomdeleon
New Member
12 0 0

What's a custom alternative to achieve this?