How can I add mandatory text boxes to the cart in the Dawn theme?

How can I add mandatory text boxes to the cart in the Dawn theme?

Casflow
New Member
6 0 0

I'm looking to have two text boxes added under my Items in Cart.  

Both text box needs to be mandatory - this will be for Greeting Card messages from the sender.

Second text box will be for basic special instructions to the seller (myself). Both boxes of information need to show up on my backend when I print their order out for us to fill.

 

I am using an app for delivery date options and would like the text boxes to appear under the Items in cart, under the delivery date picker with some spacing between each other to look neat.

 

We want customers to be able to write their card message in one box.  Second Box is just the Special instructions which customers does not need to type anything in if they don't want too. 

 

Is there a way of doing this? 

 

Thank you,

Replies 5 (5)

gr_trading
Shopify Partner
2040 149 206

Hi @Casflow 

 

For seller instructions, you can enable the note field from the theme.

 

for adding other custom inputs, please refer below URL to achieve.

 

https://shopify.dev/docs/themes/architecture/templates/cart

 

https://community.shopify.com/c/online-store-and-theme/dawn-theme-add-custom-fields-in-cart-page-and...

 

Hope it will help...

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
Casflow
New Member
6 0 0

Thank you ... 

 

Can it be moved to the center and also make the box area a bit larger?

gr_trading
Shopify Partner
2040 149 206

Since you're doing it using custom code don't think it would be difficult to design or change placement for this.

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee
Casflow
New Member
6 0 0

Can you give me the coding for the center placement and resizing?

gr_trading
Shopify Partner
2040 149 206

Since you have not provided the Website URL, it would be best if you edit your theme code first then share the URL, and will let you know the Fix.

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee