I want to conceal product pricing details from guest visitors.

24 0 1

Is it possible to hide product prices from guest visitors on frontend. I want customers to get logged in to see the item pricing information.

Exploring Shopify deeply
Reply 1 (1)

Shopify Partner
3769 953 1185

Hey @vai_jpn 


Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

{% if customer %}
.price {
    display: block;
{% else %}
.price {
    display: none;
{% endif %}


If I managed to help you then, don't forget to Like it and Mark it as Solution!


Best Regards,

Need a Shopify developer? Chat on WhatsApp

- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️