How to set up Conditional Fields on Checkout Form

Is it possible to set up conditional fields as part of the checkout process?

To clarify what I’m trying to achieve:

  • Depending on the quantity of a product that a customer is purchasing, I would like to show additional fields
  • For example, if a customer purchases 1x of a specific product (let’s say, 1-week trip to France), I would like to request for some personal details for that 1x person
  • However, if a customer is purchasing 3x that product (therefore, 3 people will be going to that trip), I would like to ask those same personal details for each of the 3 participants joining

Is that something feasible in Webflow? Many thanks!

1 Like

Hi @SeekaTravel.
Josh with Foxy here. What you’re after will not be easily possible with Webflow Ecommerce. That said, our seamless Webflow integration supports this:

You can add custom fields to both your add to cart forms and checkout form. Conditional logic/code can be added to show/hide fields and make them required.

Feel free to email us with more details on your project and we’ll do our best to get you pointed in the right direction: