creating vendor accounts

creating vendor accounts

Johnny_Stecchin
Visitor
3 0 1

I'm trying to create a seperate customer account type in this case (producer/vendor of the products)  I am trying right now by having my create account form have a checkbox that when clicked will add a tag to the customer so they can use a seperate dashboard however shopify is not recognizing the checkbox as making the tag and not assigning it to the customers account  

<!-- Register as Producer Checkbox -->
<div>
<input type="checkbox" id="RegisterAsProducer" name="customer[tags][]" value="producer">
<label for="RegisterAsProducer">Register as Producer</label>
</div>

<!-- Submit Button -->
<div>
<button type="submit">{{ 'customer.register.submit' | t }}</button>
</div> code in main register liquid however when the button is pressed neither my customer tag is updated nor y console info as seen in the bottom right of the left half of this image 

 

 Screenshot (230).png

Reply 1 (1)

finlayconnor27
Visitor
2 0 0

Check if "customer[tags][]" is correctly formatted for Shopify, or if extra theme code is needed. OsteoPilates in Ivrea might face similar tagging issues!