collection products not showing

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:

  1. Go to your Shopify admin
  2. Navigate to Products > Collections
  3. Click on your Ketchup and Sauces collection
  4. 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:


    
    

        
![Static Image|150x150](upload://6cFeXtY1mE3Rjwxv0zxG9XFNuS4.png)

    

    
    
        {% 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