A Shopify user wants to hide product short descriptions (stored in metafields) containing bulk pricing information from visitors, making them visible only to logged-in customers.
Solution Provided:
Multiple respondents suggested wrapping the metafield code with a Liquid conditional statement:
{% if customer %}
{{ resource.metafields.namespace.key }}
{% endif %}
Implementation Steps:
Access Shopify admin → Sales channels → Online Store
Click theme’s three-dot menu → Edit code
Locate the relevant template file (typically product.liquid, varies by theme)
Add the conditional code around the metafield reference
Replace namespace.key with actual metafield definition (e.g., custom.rrp)
Alternative: One respondent recommended the Easify Product Options app, which includes built-in customer restriction features for content visibility.
Status: Original poster confirmed the solution works. A follow-up question from another user asks how to implement this specifically in the Dawn theme for a custom.rrp metafield.
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.
I am new here and don’t know if someone posted the same question but upon searching I do not read any answers that suit my question.
I put a small product description that says the prices whenever they buy in bulk, I want to keep this product description for those members/customers but I’d like to hide it if they are not logged in or not a customer yet with access. Please see my 2nd screenshot in the red box description that I want to keep but should be hidden for those customers who are logged out or visitors/non-customers. 1st screenshot is the backend metafield where I put the short description.
Any answers will be very much appreciated. I am new to Shopify also so I don’t know how to navigate it as well. I am still learning to use Shopify, so I would appreciate your step-by-step answer. Thank you all so much
This is an example of code. But actually do that, it needs to know the metafield full definition. and find out the file and the exact position of the file. The file can be product.liquid. but it depends on the theme structure.
If you do not do it on your own. I will be happy to help you.
Can you provide URL of your store? I will review the and let you know a quick solution. If not we will have to make custom changes on the theme files to get this done.
You can consider using the Easify Product Options app for your product descriptions. With the Paragraph option type, you can create detailed descriptions. The Customer Restriction feature allows you to limit access tologged-in customers .
I am trying to achieve the same thing in Dawn theme. I have added a metafield for products and I don’t want that to be displayed unless a customer is logged in. How do I achieve that?