hello I would like to edit my url so that “collections” is removed and the url would simply me my shop name/product name. instead of collections/product name.
I have seen a few hacks in the code for this using the product.grid.item liquid but that is not working for my theme as {collection} is not showing up in the code. I have pasted that code below
{{ product.title }} — {% if on_sale %} {{ 'products.general.sale_price' | t }} {% else %} {{ 'products.general.regular_price' | t }} {% endif %} {% if product.price_varies %} {{ product.price_min | money_without_trailing_zeros }} + {% else %} {{ product.price | money_without_trailing_zeros }} {% endif %}website is not live yet so I cannot link