• Resolved ha2214900

    (@ha2214900)


    I have used this plugin for the different addons, everything is working fine but where I have used conditional logic, the radio buttons visibility and invisibility are fine but radio uncheck and reset are not working.
    when I check my addon and add it to the cart it’s fine but if I again add the same item to the cart it will have already checked the addon. and if I select chicken Addon then i switch to beef addon then it will send both addon to the cart.

    Expected Behaviour: I have a section “Make Your Own Bowl”. When a person adds a deluxe bowl he had to add (Main+Addon+Side) to make a complete deluxe food bowl. Step 1: First of all, the customer will select his bowl, and then he will add an item from the main course. Step 2: Then we have 3 variations in addons (chicken, beef, seafood) after the customer selects ONE of these add-ons, their respective courses will become before to continue ordering. Step 3: In the last step, he will add a Side from the menu and complete the order.

    Current Behaviour: I am facing a problem with step 2, first I added chicken as my addon and select the addon product, and then I decided to change my addon from chicken to beef/seafood, the real problem pops here, it will select the new addon from beef/seafood and also the last addon from the chicken after completing the order.

    https://islamabad.ginyaki.com/” Above is the URL to my site, you can go to make your own bowl section and test DELUXE BOWLS. Add multiple same products with variations to your cart, you will see the problem.
    Help: can you please let me know how can I reset the radio checks on the cart, so they go uncheck automatically after a single click
    Help to my this problem without any discrimination will be really appreciated.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hello,

    Can you give me exact steps to see the issue please? Thanks!

    Thread Starter ha2214900

    (@ha2214900)

    Hello,
    The issue is in Chicken, Beef, and Seafood Deluxe Bowl.
    I want to allow only one addon to be selected.
    1. I want to RESET radio buttons value when a deluxe bowl is added to cart, because the next time you’ll add the same item, the addon will be already checked and exists.
    2. If I select chicken addon in any bowl and I have a change of mind that I want to select beef addon when I switch to beef and select an addon then add to cart it will send both addons to the cart.

    Plugin Author Wombat Plugins

    (@maartenbelmans)

    Ah I see now. Unfortunately that’s not possible at this point. In default WooCommerce behaviour, the page refreshes when adding to cart. You are using a plugin or theme that is overwriting the default behaviour. Therefore, the fields are not reset.

    Thread Starter ha2214900

    (@ha2214900)

    How can I resolve this problem? any help will be appreciated

    Plugin Support Robert Fortaleza

    (@robfrtlz)

    Hello @ha2214900,

    I’m afraid the only recommendation we can provide to you at the moment is to deactivate or use a different plugin or theme that will not do the same behavior.

    This way, the fields will be reset. Sorry, we do not have a better recommendation for this case.

    Best regards,
    Rob

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to reset/uncheck radio button’ is closed to new replies.