LOL I should have come to the forums at the start! Great first experience so far, thank you
Topic summary
Goal: add a clickable, conditional link on Shopify customer account pages without using an app, including unique per-customer URLs.
Key approaches proposed:
- Customer tags + Liquid (Shopify’s theme templating language): tag customers with a prefix and URL (e.g., “link–https://…”), then in customers/account.liquid loop customer.tags, split on the delimiter, and render the anchor only when present. Suggest using a unique delimiter to avoid conflicts.
- Customer metafields (custom data on customers): create a Rich text metafield in Settings > Custom Data > Customers, populate per customer, and output it on the account page with a Liquid check and metafield_tag for clickable content.
- For all customers: place plain HTML text and a link directly in customers/account.liquid without conditional logic.
Clarifications:
- Metafields = custom fields attached to customers; Liquid = theme code used to conditionally render content.
- Images provided show the Shopify admin steps and theme code placement and are central to implementation.
Status and open items:
- Solutions confirmed working for per-customer and global links on the account page.
- Unresolved: adding the link in the top “My account” dropdown menu; redirecting the checkout button; updated themes causing issues when adding a per-customer menu item with fallback text. Discussion remains open.
1 Like