How to disable Login or Register on Single Product Page

fainugros
Fri, 24 Apr 2026 20:07:47 +0000
Technical Q&A

I am looking for a way to disable or hide the Login / Register link (account icon) only when a user is viewing the Single Product Page. I want it to remain visible on the Homepage and other pages.

Here are my store details:

Theme Name: pharmify

Shopify Version: Online Store 2.0

I have checked the Theme Customizer but couldn’t find a specific setting for this. Is there a CSS snippet or a specific Liquid file (like main-product.liquid) that I need to modify?

Any guidance on which code logic to use (e.g., using {% unless template == 'product' %}) would be greatly appreciated.

Thank you!

5 posts - 3 participants