Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Making Metafields required to add to cart/checkout

Solved

Making Metafields required to add to cart/checkout

rndkbd
Visitor
2 1 0

I've added a metafield to take customer input regarding the color of a product - but currently they can add to cart/checkout without filling out the field - is there a way to make it required?

I implemented the feature according to this Guide 

 

Any help would be appreciated.

Accepted Solution (1)

rndkbd
Visitor
2 1 0

This is an accepted solution.

Solved it myself. Looks like a required="required" in the options is all it took. 

View solution in original post

Replies 2 (2)

rndkbd
Visitor
2 1 0

This is an accepted solution.

Solved it myself. Looks like a required="required" in the options is all it took. 

Sara_apr
Shopify Partner
11 0 0

Hi
I have wrote required="required" in registration form. but for me it doesn't work. I am using Habitat theme. can you please help me