Add checkbox based on product option

I have question. I have products which have two options. Buy and Rent. There have two things need to do if someone choose Rent.

I want to show Are you 18 years or older checkbox if someone choose Rent. And if not tick, the add to cart button will not work. So i think that can do by corvid but i don’t know what is the process. So can you someone please tell me how to do that.

The second one, if someone select Rent and tick the Terms and Conditions checkbox on the checkout page, can there be a way to link that to the profile they create when they pay? For example, if i rent and check the box saying I agree to the agreement, in my profile, can there be a place that shows that I DID agree and check the box?

Hello tareq,

check this out, this example shows exactly the behaviour, which you described.

https://russian-dima.wixsite.com/meinewebsite/enable-button-check

Actually that is not what i want. Please check this product www.theplannerexchange . com/product-page/the-leather-quill-shoppe-trifold-in-undyed You can see there have two option Buy, Rent. I want if someone choose Rent there will be a checkbox showing and until customer not check the box the add to card button will not work. The example you give have select option html attribute but Wix product option not have those select option attribute. So how can i select those option on corvid. What is the selector for the option Rent in Corvid.

Can someone please give me answer. Please

Hello tareq,
next time you should always say if you are using custom elements or some of the Wix or 3th-p. - apps.
In your case, i would look into the given API-References…
https://www.wix.com/corvid/reference/wix-stores.html
Perhaps you will find there your answer. I use very rarely ready2go apps, exactly because of such problems which you are strugling right now.