Hey @Nabeelshakil ,
The code you’ve pasted here is correct, however, on checking your collection “Ketchup and Sauces”, we found that your collection handle is coming out to be [https-admin-shopify-com-store-sundip1-collections-ketchup-and-sauces]
Either you can modify the collection handle by
To find your correct collection handle:
- Go to your Shopify admin
- Navigate to Products > Collections
- Click on your Ketchup and Sauces collection
- Look at the URL - the last part after ‘collections/’ is your handle
- Or check the ‘Website URL’ field in your collection’s SEO section
Or if you don’t want to change this collection handle, you can modify the above code to be:

{% assign collection = collections['https-admin-shopify-com-store-sundip1-collections-ketchup-and-sauces'] %}
{% if collection.products.size > 0 %}
{% for product in collection.products %}
{{ product.title }}
{{ product.price | money }}
{% endfor %}
{% else %}
No products found in this collection.
{% endif %}
Hope this helps. If yes, do accept this as a solution.
Cheers!
Shubham | Untechnickle