Shopify themes, liquid, logos, and UX
Have a wholesale store where you have to be approved to be able to login and see prices and order. However when an individual searches any of our products on search engine it shows the wholesale price in the results.
@skasinger - do you want to hide this price? it will need css but the issue is that it might hide for user logged in too, if you want we can try css
I do not want the price to show at all on a search result page. The price should only show up once they are on our page and logged in.
Search engines will be pulling the price from the schema.org structured data in the code of the product pages.
By wrapping the structured data in an if statement, you should be able to hide it from web crawlers and everyone else unless they're logged in.
Something like:
{% if customer %}
.. Your structured data here..
{% endif %}
The results will still be visible in search engines until the pages are re-crawled.
How do I go about getting help with that bc I am having no luck.
I think you helped me last time with this problem and it is still happening and I was hoping you could help again, thanks
User | RANK |
---|---|
229 | |
165 | |
66 | |
55 | |
49 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023