Hi there,
Thank you for reaching out.
I understand that you need to add a checkbox which would add a product to cart if ticked upon registration on https://compliance.social/register/
I don’t see this page – it’s returning an error 404. Is that a custom registration form or a form created using a third-party plugin? If yes – this will most likely require code customization.
If you decide to pursue such functionality and find yourself in need of help with the code – I’d recommend reaching out to someone from WooCommerce.com customizations page https://woocommerce.com/customizations/
If you’d like to add a checkbox for an additional product to cart or checkout page though – that can be done with a plugin like UpSell for WooCommerce:
https://www.ads-software.com/plugins/woo-upsell/
Please note that the author hasn’t updated this plugin for over a year and I can’t promise this will work.
The code here will give you an idea of what’s needed to add an upsell checkbox to a product page so you can try modifying it to add the same kind of checkbox to your custom registration page:
https://stackoverflow.com/questions/46851953/woocommerce-upsell-with-checkboxes
I hope this helps!
https://stackoverflow.com/questions/46851953/woocommerce-upsell-with-checkboxes