Shopify Recommended Products Not Showing Images? Here's How to Fix It!
Hey store owners! Ever logged into your Shopify admin, checked out your product pages, and noticed something… off? Maybe your 'Recommended Products' section is there, but the images? Poof! Gone. Or worse, the section itself just says 'no recommendations' even when you know you've got plenty of great products to suggest. It's a frustrating head-scratcher, isn't it? I recently stumbled upon a community discussion that perfectly captured this very dilemma, and the brilliant minds there really dug into the nitty-gritty to find some solid answers. Let's dive into what we learned from LiquorAssets' experience with their Horizon theme, and how the community rallied to help.
The Problem Unpacked: Missing Product Images
Our fellow merchant, LiquorAssets, kicked off the thread with a classic problem: their 'Products You May Also Like' section was showing empty product cards – no images whatsoever. They confirmed images were uploaded and product pages were set up, so it wasn't a simple 'forgot to add an image' scenario. To add to the mystery, when they tried to add a new 'Recommended Products' section, it flat-out said 'no recommendations.' This all happened on their liquorassets.net store, running the Horizon theme. It’s a common scenario: something that used to work suddenly doesn't, and you're left wondering what changed.
Initial Troubleshooting Thoughts
Before jumping straight into code, it's always good to cover the basics. DANIELOZ, another helpful community member, laid out some excellent initial troubleshooting points that are worth checking for any theme, not just Horizon. These are your first stops if you're facing a similar issue:
- Missing Featured Images: Double-check that all your recommended products actually have featured images assigned to them. Sometimes, a product might have gallery images, but the 'featured image' slot is empty, and many themes rely on that specific image for product cards.
- Liquid Code References: If you've customized your theme's Liquid code, make sure the recommendation product object inside your loop is correctly referencing the image. It's easy to accidentally use something like
product.featured_imagewhen it should be pulling the image from the recommended product object itself within that specific loop. - CSS or Lazy-Loading Hiding Images: This is a big one, and often the culprit! Sometimes, CSS rules or lazy-loading scripts can inadvertently hide images, making them invisible even if they're technically loaded on the page. This was a strong lead in LiquorAssets' case, as we'll see.
The Deep Dive: CSS Conflicts & Tim_tairli's Specific Fix
Now, this is where the community's expertise really shone through. tim_tairli, a sharp-eyed developer, pinpointed the exact issue for LiquorAssets' Horizon theme. It wasn't a missing image or incorrect Liquid, but a specific CSS rule in their assets/base.css file.
The culprit? This line:
/* Horizon collection carousel heading alignment */
.resource-list .layout-panel-flex--column {
align-items: flex-start !important;
}
As tim_tairli explained, while this rule might have been intended for collection carousel heading alignment, it had an unintended side-effect. Those classes, .resource-list and .layout-panel-flex--column, are used pretty extensively across different parts of the theme. This specific align-items: flex-start !important; rule was essentially preventing the product card media content – your lovely product images – from showing up!
The fix is to override this specific rule for product cards. Here's how tim_tairli suggested doing it:
- Go to your Shopify Admin > Online Store > Themes.
- Find your current theme (Horizon, in this case), click Actions, then Edit Code.
- Navigate to your
assets/base.cssfile (or another appropriate CSS file in your assets folder, liketheme.cssor a custom CSS file you might have added). - Add the following CSS rule to override the problematic style. It's best to add it at the very bottom of the file to ensure it takes precedence:
.product-card .product-card__content.product-grid__card {
align-items: unset !important;
}
This snippet specifically targets the product card content and resets the align-items property, allowing your images to display correctly. Tim_tairli also threw in a nice aesthetic tweak for the quick-add button, which you might find useful:
.product-card .quick-add button {
margin-top: 0.5rem;
width: 100%;
}
This makes the quick-add button look tidier on product cards, applying to collection product cards as well. Here's what that fix looked like, as shared in the thread:

Another Angle: The Card Gallery Fix from Moeed
While tim_tairli's solution was very specific to the detected CSS conflict, another community member, Moeed, offered a slightly different but equally effective CSS override. This solution targets the .card-gallery class, which might be another element causing display issues in some themes or configurations.
Here are Moeed's steps:
- Go to your Shopify Admin > Online Store > Themes.
- Find your current theme, click Actions, then Edit Code.
- Find the
theme.liquidfile. - Add the following code snippet right before the closing
