All things Shopify and commerce
I have a retail store called https://regulatoraustralia.com.au. I have locked all the prices for user with this condition
{% if customer %}
{% endif %}
Means user can only see the price when they are logged in. I have not used any other plugin for SEO. All are default shopify things.
The problem I am facing now is, when someone search by product name or category, my product price are shown to google search result. Is there any way I can make it so the price section is always hidden from google search result?
I picked a random product on your shop and viewed the source using the browsers debug tools.
https://support.google.com/surveys/answer/6172725?hl=en
I searched for "price" and found the price in the code so you're not masking it everywhere. Also keep in mind that the price can always be seen by looking at the ajax endpoints (add .js to the product url). Keep that in mind depending on how private your prices need to be.
As for what Google shows now, it is showing prices in results now? I'd assume that it still has the index values from before you added the code. That sound about right?
We just went through this for a client that only sells wholesale. There is a way to hide products from Google using a custom metafield (feature recently released by Shopify) but found that this also hid products from our client's search field on her website.
We ended up adding a tag to the product page to hide all products from Search Engines and keep them available on internal searches.
We have requested that Shopify add the ability to hide prices only from Search Engines as a custom metafield. Please call support and request this feature so Shopify is aware that this will benefit several stores not just one.
Hey @cna_az , so if I want to hide the price on my store AND have google display my products without the price, this won't be possible ?
To learn more visit the Shopify Help Center or the Community Blog.
Hi @josefinashopify ,
I have not tried to hide prices but still show products on Google search results. Who are you trying to hide prices from in your store?
the only topic of this thread is hiding the price on Google. any other response is ignoring the initial question
Hi dear, Yes you can Hide product price for a google search result, Shopify hide price app offer that enables you to display product prices and add to cart function for specific customer tags and products. The owner can replace price with multiple options like add to cart, contact us, call for a price, etc. if the user needs a product price he/she can contact auto-response generate to reply to their enquiry.
Hi there
Did you ever find a solution to this? We are facing the same challenge and have the same set up (customers can only see the price when they are logged in). Thanks
Hi all,
Still facing the same issue as the merchants above. Is there a solution other than using an app?
Thanks,
SJ
Hi There!
If you want to hide the price of a Shopify product from being shown in Google Search results, you have to modify the structured data (JSON-LD) of your site. This data is what Google and other search engines use to display details about your products in their results.
you can simply search this script tag in your code
<script type="application/ld+json">
and remove everything related to price
"price" : {{ product.price | divided_by: 100.0 }},
Hi There!
If you want to hide the price of a Shopify product from being shown in Google Search results, you have to modify the structured data (JSON-LD) of your site. This data is what Google and other search engines use to display details about your products in their results.
you can simply search this script tag in your code
<script type="application/ld+json">
and remove everything related to price
"price" : {{ product.price | divided_by: 100.0 }},
Thanks Bilal. That make sense. Will that effect the price the customer sees when they are logged in or the ability to make a purchase? I have now set my code to have some products that show prices all the time, others only when logged in and some products custom quote. I simply tagged the products that I want to hide with two different tags and wrote a log yet simple if customer script. Can the JSON read Tags?
Can you or someone please specific how that is done, I do not even find the mentioned code anywhere in my coding, if this JSON file is the google playground, then it must be possible to add some span class hidden, instead of removing, or will that not work on a search engine, if you are a pro, coding guy/girl you must be able to help out with this issue,,, please
This solution is no longer effective. It stopped pricing from appearing on Google for a few months, but now they are back on! Are there any updated ideas on how to effectively remove prices from being crawled and appearing in Google search results? Thank you
I have the same problem, anyone have a solution, ?
I hide my price using
{% if customer %}
all works fine on my Shopify site, but on Google search engine, prices are still visible.
This must be a problem to all B2B shops, there must be a solution, please help
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024