Shopify themes, liquid, logos, and UX
Hello, I'm trying to wrap my head around how to fix this issue.
As you can see by this image, the "Niche" collection does not display any images. I understand why, as no products are available in the collection. The issue I have is, that the collection is set to only contain products with a stock greater than 0, so our customers do not have to deal with looking through our out-of-stocks, and I would like to keep it this way.
How can I attach an image that is displayed at all times, or preferably, a default image IF there should be no more products in this collection.
Solved! Go to the solution
This is an accepted solution.
Hi @Noodles300 You can add the image in the collection section, where you have added this collection, may be it sounds like weird, but it is the way how you can solve this issue.
If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the changes so that this will work well for you.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
This is an accepted solution.
Hi @Noodles300 You can add the image in the collection section, where you have added this collection, may be it sounds like weird, but it is the way how you can solve this issue.
If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the changes so that this will work well for you.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
I did already do this, however, the one thing I was missing was to edit the theme settings within the theme editor -> Collection list (main block). Here I could set the collection to display the collection image, which solves this problem.
Thank you so much for the replies everyone!
Hi @Noodles300
Could you send your store link to check?
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
hy ,@Noodles300
there is two way you can hide if there its no image in product
1) you can manually hide the product
You can draft the product, and there is automatic functionality available through code.
{% if product.featured_image %}
{% endif %}
wrap in follow code like this
Is gonna work but lets if is you showing 50 so you see in this page 49 products and you have empty place.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025