All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I'd like to make it so that if someone searches for something and the search comes up empty, a particular product is displayed. I sell posters of music albums. I have an item that is a custom poster. I'd like to make sure that if someone searches for an artist/album and no results are found, that the custom album item is displayed. I hope you can help me.
Hello,
To be able to do that you will need to add a blog post through your Shopify store. Then you can now connect it to your store
Hi @Audric
If you’re comfortable with code or have a developer:
{% if search.results_count == 0 %}
<div class="no-results">
<p>No results found. Check out our <a href="/products/custom-poster">Custom Album Poster</a>!</p>
{% include 'product-card', product: all_products['custom-poster'] %}
</div>
{% endif %}
Hi @Audric
Please install Search & Discovery app so you can set Recommendations product when searching
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.