How to remove "sorry, there are no products in this collection"

Highlighted
Explorer
61 0 18

Hello there,

anyone can gently help How to remove "sorry, there are no products in this collection"

Much appreciated.

www.babyway.com.au/

 

Alex

0 Likes
Highlighted
Tourist
296 44 67

Your store is password protected, please provide password

If this solution works, then please accept it as solution and like.
For theme customization, please contact parambabla.soft@gmail.com
0 Likes
Highlighted
Shopify Partner
2214 481 625

Hey @Alex1510,

I don't know which theme you're talking about. But this is the standard way of any cart system which shows if products doesn't exists.

Well if you want to remove that then goto sections/collections-template.liquid file.

Find this

{% if collection.products.size == 0 %}
      <p class="text-center">{{ 'collections.general.no_matches' | t }}</p>
    {% endif %}

Replace with this:

{% comment % }
{% if collection.products.size == 0 %}
      <p class="text-center">{{ 'collections.general.no_matches' | t }}</p>
    {% endif %}
{% endcomment %}

 

Hope this will work for you.

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Explorer
61 0 18

i disable password now you can please check it. not sure i have excatly that part of code it looks different

Thanks

0 Likes
Highlighted
Explorer
61 0 18

i disable password please check it

 

0 Likes