How to add dynamic checkboxes to checkout page based on product type?

zakmaddock
Visitor
1 0 0

Hi guys

 

We sell six products only to b3b and b2c. We have two types of agreements, 1 for three products(group a) and another for three products (group b). We used a waiver plugin for the products, and it's working great on the front end (when adding products to the cart).

 

Now, when sending a cart/invoice directly to the client, this bypasses the checkbox at the cart level. 

We want to display a check box " I agree to the agreement" on the final checkout page right before the payment entry (required checkbox; otherwise, we can't submit payment). This would have to display this checkbox based on the product type on the checkout page. If 2 products from both groups are displayed on the checkout page, we would like to display of course 2 checkbox for the agreement. 

Can someone let us know the solution please, we are willing to hire someone to create the code for us please. I heard there's a code for checkout that could be displayed, but would like to know someone expert in this. 

 

Attaching a screenshot as well Screen Shot 2022-12-02 at 5.11.49 PM.png


Thank you

Reply 1 (1)

Junaid-Ahmed
Shopify Partner
79 17 16

Hi, welcome to the Shopify Community.

 

Modifying the checkout process is only possible on Shopify Plus stores. Which subscription are you on?

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.