All Collections
Debutify Theme
Theme Sections
How to Remove the Collection Name from the URL path and go directly to the product page
How to Remove the Collection Name from the URL path and go directly to the product page

A guide on how to remove the collection name from the URL path and go directly to the product page in Debutify themes.

Diane Eunice Narciso avatar
Written by Diane Eunice Narciso
Updated over a week ago

When clicking on a product inside a collection page, it redirects you to a link, such as shopifypreview.com/collections/collection-name/products/product-name


How to Remove the Collection Name from the URL path and go directly to the product page?

STEP 1

In Shopify Admin, click on Online Store > Themes.

STEP 2

Click the three dots on your Debutify theme. Select edit code.

STEP 3

On your sidebar, go to Snippets.

STEP 4

Click on product-grid-item.liquid. Search for product_link = product.url and remove the | within: collection. Click save.

Did this answer your question?