Need help with "Login to View Price" functionality using Theme App Extension

Topic summary

A developer is building a Shopify app that hides product prices until customers log in, using Theme App Extensions for broad theme compatibility.

Current Status:

  • Basic functionality is working
  • Encountering three main technical challenges

Key Issues:

  • Dynamic price visibility: Struggling to reliably hide/show prices across product and collection pages on different themes
  • Theme compatibility: Need to maintain functionality without disrupting native theme structures
  • Performance optimization: Seeking efficient implementation that avoids excessive Liquid code or client-side workarounds

Request:
Looking for community guidance, implementation examples, or best practices from developers who have built similar features. Open to sharing code snippets for collaborative troubleshooting.

The discussion remains open with no responses yet.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

I’m currently developing a Shopify app that hides product prices unless the customer is logged in, essentially a “Login to View Price” feature. I’m using “Theme App Extensions” to keep it as clean and theme-compatible as possible.

I’ve managed to get the basics working, but I’m running into issues with:

  • Dynamically hiding/showing prices on product and collection pages across different themes
  • Ensuring compatibility without breaking native theme structures
  • Managing performance without overusing Liquid or client-side hacks

Has anyone here implemented something similar or encountered the same challenges?
I’d really appreciate any tips, references, or even examples of how this can be handled more reliably.

Thanks a lot in advance, happy to share code snippets if needed!

Best regards.