Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I'm looking for a way to tag a customer automatically based on an answer when they are signing up.
What I'm trying to do is
A customer chooses their body height when they sign up.
I'd like a tag the answer to the customer. For example, when they choose "4'9"" as their height, I'd like to tag "49" to the customer.
This person seemed to make it but I'm not sure how.
I know some apps would make it but would like to learn how to achieve by editing codes.
I'd tip you if I get an answer.
Thanks in advance.
Solved! Go to the solution
This is an accepted solution.
Hi @hirot,
You can add the following code:
<select name="customer[tags][height]">
<option value="49">4'9"</option>
<option value="59">5'9"</option>
</select>
Hope it helps!
Hi @hirot
1: you should find your 'customers/register.liquid' at first.
2: name those input as customer[tags][0] 、 customer[tags][1]
3: new form
4: Test result
Thank you for your solution! I just accepted the other one as an solution but your also works!
thank you let me know it works
Hello, I'm having a similar issue, I would like to automatically apply the product tags to the customer tags after checkout. Is there a way to link them after the customer purchased the products?
This is an accepted solution.
Hi @hirot,
You can add the following code:
<select name="customer[tags][height]">
<option value="49">4'9"</option>
<option value="59">5'9"</option>
</select>
Hope it helps!
Hello, I'm having a similar issue, I would like to automatically apply the product tags to the customer tags after checkout. Is there a way to link them after the customer purchased the products?
what's the name of the code file where this goes, referring to account registration. Thanks
Also, instead of a checkbox, how could I simply add a small notes box on the registration page?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024