How to make text box appear when checkbox is checked?

EvergreenRoses
Tourist
3 0 1

Hi, 

I'm trying to add option of custom greeting card message on product page. I put there checkbox "Add greeting card" if client want to add card to the order. But now i need a text box to appear when checkbox is checked so client can put there custom message. And somehow this message should be connected to the order so i can see it in my shop orders. My current shop theme is Prestige 7.3.6

 

Attaching example how i want it to look like.

1. 
Screenshot 2023-11-24 at 8.30.39 PM.png

 

 

 

 

2. 

Screenshot 2023-11-24 at 8.32.29 PM.png

 

 

 

 

 

 

 

 

Thank you so much for your help. 

 

 

Reply 1 (1)

sakinur-rahman
Shopify Partner
122 15 19

It require shopify liquid and javascript code and need to work directly on the store.

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications -

Your Coffee Tip and my code, A perfect blend. ❤️ Buy Me A Coffee


Website: HelloSakin.com