I have a checkbox on the checkoutpage in my woocommerce site. I want to write a function where if this checkbox is checked then a div will dropdown with additional information.
The checkbox has an id of #unattended
However I have no idea where to start : /
Anyhelp would be greatly appreciated
Yeah, good question. Here’s an example (I commented the code) to show you how it’s done:
I hope that this helps you out! If you need additional help, please comment below.