How can I show and hide shopping cart products based on selections?

  • CoreyBotwinis
    Asked on February 9, 2017 at 11:51 AM

    How can I show and hide shopping cart products based on selections? Image 1 Screenshot 20

    Hello, I have a question regarding my form. I want to divide the shopping cart based on the first selection. If the customer chooses Black, then only black stones are for sale shown. Also, If they choose grey, only the grey stones are shown. How can I do this?

    https://www.jotform.com/build/70313426640144

     

    Thank you for your time.

  • AIDAN
    Replied on February 9, 2017 at 1:18 PM

    Hi, thank you for contacting us.

    Upon examination of your form, I noticed that you already make use of the product option feature, to provide both black and gray colors.

    However, there is currently no way to exclude a set of products or options based on the selection of either a product or a form field in general, because in the conditional logic context, you cannot fine tune what product(s) you can show and hide, because you have access to the whole products field.

    The only remaining solution is to create your products outside the payment integration, using form fields, and applying the conditions you would like to have, and perform the adequate price calculations and pass the result to the payment integration.

    I hope this helps. If you have more questions or need further assistance, please let us know. Thank you.