How can I fix variant options for different ticket types on a single product?

Hi

I have a single product but 3 different Variants under that product. For example, the product is a walking tour and Variants are the ticket type, adult, child, OAP.

When i add an adult Variants to the cart and then add a child, it cancels out the adult ticket. if i try to a OAP ticket, it would cancel the child ticket out.

how can i fix the Variants options so that when a customer picks the products they can add in required amount of adult, child and OAP tickets without cancelling each other.

Regards

Maggie

hi @maggieos

Can i have your store url pls so i can check the same

Hi Vinod

The URL is irish Wolfhounds

If you click on the group walk product under book now. Select a date and adult ticket. If you pick a child then and add it to the cart, you see the cart will have updated for that child ticket only.

Maggie

Hi @maggieos

Yes i noted that what is happening is when i add a product variant as Kid it takes kid product in cart but when i add a different variant as Adult it takes adult in cart and removes the kid form cart - this needs to be checked on variant level inside the code

You should check the IzyRent app configuration because it looks like each walk is configured with a single customer “place”, so when you try adding to cart new reservation the old one is discarded.

Hi @maggieos ,

I have a simple solution to suggest using the Easify Product Options app - No coding required. Instead of creating product variants, you can consider them as “custom product options” and create them within the app, allowing for more flexibility in creating options that let customers select specific quantities of each ticket type :blush: .

Here’s a quick demonstration on how you can set it up:

  • Create your “Walking Tour” product without any options or variants included.

  • Install Easify Product Options app and create a new option set:

  • Create an option for customers to select ticket types first - using the Buttons option type provided by the app. They can choose 1, 2, or all 3 ticket types.

  • Add an option for customers to select the specific quantity if they choose the Adult ticket. Use the Quantity option type and Conditional Logic to show this option only when “Adult” is selected in the previous option. You can also set a price for each Adult ticket, so the total price will automatically calculate based on the number of Adult tickets customers enter.

  • Similarly, create 2 more options for customers to select specific quantities if they choose the Child and OAP tickets.

  • Finally, assign the option set to your “Walking Tour” product, and you’re done.

As you can see, it’s very easy to set up your options with the Easify Product Options app. Give it a try and enhance the experience for your customers :hugs: !

Thanks Tim, i had the variant stocked as product. if i change the stock method to variant on the izyrent app, it worked.

Thanks for your help. It was the stock method on the izyrent app. i really didnt want to be digging around in the code!.

You’re welcome