A user attempted to create a button that adds a “vip” tag to customers when clicked, but encountered issues with their Liquid code implementation.
Initial Problem:
Original code using customer[tags] didn’t work
Alternative attempt with customer[note][Membership] also failed
Proposed Solution:
One responder suggested preserving existing tags by joining them with the new tag:
value="{{ customer.tags | join: ', ' }}, vip"
They also explained the correct syntax for modifying customer notes if needed.
Core Issue Identified:
Another participant clarified that customer tags cannot be updated directly from the storefront due to Shopify security restrictions. Tags can only be modified through:
Shopify admin interface
Shopify API with proper authentication
Shopify Flow (for Plus merchants)
Third-party apps designed for customer tagging
Status: The original approach is not viable. The discussion remains open regarding which alternative solution the user will pursue.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
Let me help you with the customer tagging functionality in Shopify. The issue with your current approach is that the form is trying to overwrite the tags rather than append to them. Here’s the correct way to add a tag while preserving existing ones:
We’re now including all existing customer tags using customer.tags | join: ', ’
We append the new ‘vip’ tag to the existing tags list
As for the customer note approach (customer[note][Membership]), this wouldn’t work because the note field expects a different syntax. If you specifically want to modify the customer note, you would need to use:
However, I recommend sticking with the tags approach as it’s more structured and easier to manage. Tags are specifically designed for this kind of categorization in Shopify.
You’re right—this approach won’t work because Shopify doesn’t allow customer tags to be updated directly from the storefront for security reasons. Customer tags can only be modified through the Shopify admin or via the Shopify API with proper authentication.
That said, you’ve got a few good options:
Use native Shopify tagging – If you’re managing tags manually, you can update them in the Shopify admin under Customers.
Shopify Flow (for Shopify Plus) – If you’re on Plus, you can automate tag updates based on certain triggers (like order history or logins).
Use an app like Latch (disclaimer: I’m the developer) – Latch lets you automatically tag customers based on their actions, like subscribing or purchasing, making it easy to manage VIP access.
Hope that helps! Let me know if you need any more details.