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.