All things Shopify and commerce
Hello, I'm trying to setup SEO myself. So I added all the ALT-Text to my product images, SEO text to all pages of my webshop (homepage,collections,productpages and other pages). Now my webshop shows up like this on google (this is for a product page).
But I want to add a variant image on the right of this like this:
Also I would like to add Reviews - Price (And compare-at price if it exists) - In Stock/Out Of Stock, at the bottom under the product description. I did some research and ended up with this code (for in my main-product.liquid):
Dec 11 2:39 PM - Codeshare. But I'm unsure if it works, because I still do not see any results. Can anyone help me with this issue. Please do not reply with some app advertisement because I want to learn how to do this, (also for future products).
Kind regards,
Stef
Hi, Here's a breakdown of the issues you're facing and potential solutions.
Unfortunately, you can't directly control the specific image Google displays in search results. Google's algorithm selects the most relevant image based on various factors, including image quality, relevance to the product, and user intent.
However, you can:
Rich snippets are a way to enhance your search results with additional information. To display reviews, price, and stock information, you'll need to implement schema markup on your product pages.
Here's how you can do it:
HTML
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"image": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
],
"description": "Product description",
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": "19.99",
"availability": "https://schema.org/InStock" // or "https://schema.org/OutOfStock"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.5",
"reviewCount": "100"
}
}
</script>
Remember to replace the placeholder values with your actual product information.
Once you've implemented schema markup correctly, Google may start displaying the rich snippets in your search results.
By following these tips and consistently working on your SEO, you can improve your website's visibility in search results and attract more potential customers.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025