How to remove collection from the products URL - Turbo Theme

Solved

How to remove collection from the products URL - Turbo Theme

Storeowner4
Excursionist
13 1 4

This is a known issue, and there are several chats on this topic.

Shopify (irrespective of the theme) automatically includes the collection name in the product URL. For example, if a product is part of 3 collections, Shopify creates 3 distinct URLs for the same product. Example:

domain/collection/collection name 1/product name 1

domain/collection/collection name 2/product name 1

domain/collection/collection name 3/product name 1

This structure is correct: domain/products/product name 1. The URL remains unchanged no matter from which collection you navigate to the product page.

All chats agree on the solution: remove “within collection,”, and the issue is resolved.

My problem is that I cannot locate this part. My theme is Out of the Sandbox Turbo and there is no:

product-card-grid.liquid. ; product-grid-item.liquid; collection.liquid.

I would really appreciate it if someone could point out the location of “within: collection” in Out of the Sandbox Turbo.

Thanks in advance.

Accepted Solution (1)
namphan
Shopify Partner
1329 164 199

This is an accepted solution.

Hi @Storeowner4,

You can find it at product-thumbnail.liquid file, after removing it everything will work fine.

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]

View solution in original post

Replies 4 (4)

namphan
Shopify Partner
1329 164 199

Hi @Storeowner4,

Can I send you a collaborator invitation? It will help me check this best

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]
Storeowner4
Excursionist
13 1 4

I sent you a code via email. It is required for collaborator requests. 

namphan
Shopify Partner
1329 164 199

Hi @Storeowner4,

I have sent the request, after access, I will check and notify soon
Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]
namphan
Shopify Partner
1329 164 199

This is an accepted solution.

Hi @Storeowner4,

You can find it at product-thumbnail.liquid file, after removing it everything will work fine.

Coffee tips fuels my dedication.
Shopify Development Service
Need help with your store? [email protected]