Make a Note Field as Mandatory Field In Cart Page.

Make a Note Field as Mandatory Field In Cart Page.

Lax
New Member
4 0 0

Hi.
I'm using the crave theme.

I want to make Note field as a mandatory field, in the Cart page. Is there having any setting to make a field as mandatory in shopify admin or we can create new custom field to make mandatory .Did any one solved this means Please guide me with steps thanks in advance.

Replies 5 (5)

laddisahsi
Shopify Partner
385 38 41

Hi @Lax 

This can be done using JS.

First have to check Note field is empty or not.

if empty can display a message, otherwise cart form will be submitted.


Thanks
Laddi

-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!
Lax
New Member
4 0 0

Hi @laddisahsi

Thank you for your Response. Note field is always empty in cart page .Actually customer can't go for next checkout page without filling the details in note field so need to make as mandatory field 
Thanks 
Lax

laddisahsi
Shopify Partner
385 38 41

@Lax 

Yes I got your cencern, we can achieve this using javasript code.

It will took 3-5 Hours approx.

Please let me know if need any help from my end.

Thanks

-Shopify website development, Theme & App Development
-Contact me: WhatsApp


-Email Me
-If this solution is worked, then please Like this and Mark this as accepted solution!
Lax
New Member
4 0 0

@laddisahsi
Ok Laddi no query's for me thank you .
Thanks
Lax

Lax
New Member
4 0 0

Hi @laddisahsi
can you guide me to do the changes in cart page 
Thanks
Lax