Hide prices from Google, a wholesale shop with Login

Hi, we need help with hiding price data of products JSON-LD, so they don’t show in Google search. We only want to show the prices to logged in customers. https://suomenlataustukku.fi/

That would be “item with error”, I am afraid.

Having said that, quoting from my older post:

… you have several options:

  • replace this code with the one from older versions
  • capture the output and modify it using string filters

Current themes use code like this:

Older themes constructed JSON-LD output in liquid:

Hi @Daaniel :waving_hand: I’m @PaulNewton shopify-partner with a range of merchant solutions.
If schema is being read by bots that’s probably not the only info being leeed without approved accounts.

For JSON-LD customization and other repairs for proper content gating you can reach out to me for customization services.
To connect CLICK my profile-pic or visit my profile on the forums
ALWAYS include context in new communications, e.g. reference urls, posts urls, etc

Not sure but can’t you just use a data-nosnippet tag on the price? Example

<div data-nosnippet><span class="price">$99.99</span></div>