Below are the instruction steps for hide price from Google search.
1. Access Shopify Theme Code:
- Go to your Shopify Admin.
- Navigate to Online Store Themes
- Click on the "Actions" dropdown for your current theme and select "Edit Code."
2. Locate product-template.liquid:
In the left sidebar, under the "Templates" folder, find product-template.liquid and click on it to open the file.
3. Hide Prices in product-template.liquid:
If you want to remove the whole price section, look for a block of code similar to this and remove it or comment it out:
4. Exclude Price from Markup:
When implementing the "Product" schema, you can omit the price property or use placeholder values (e.g., "Not available" or "Call for pricing") instead of actual prices in the schema markup. This way, you're providing structured data without displaying the actual prices. Here's an example of how you might include schema markup for a product in your Shopify template (usually within the product-template.liquid or another relevant template file)
In this example, the "price" property is set to "Not available," which indicates that prices are not shown in the schema markup.
After implementing the schema markup, use Google's Structured Data Testing Tool https://search.google.com/structured-data/testing-tool/ to check the markup for errors and ensure that it accurately represents the information on your product pages.
Note, Once the code has been modified, it may take up to two weeks for the prices to be hidden from Google.