• Resolved eltorowebdesigns

    (@eltorowebdesigns)


    I’m creating a website on a local environment. I have a non-required checkbox input that has 5 options and can have max 5 options selected. I’m able to check all 5 on the product page and the options table shows the correct price, but when I go to the cart and checkout I only see one of those options selected and the price reflects only that one option.

    Product Page: Base price is $22. The 5 additions are $4, $4, $4, $4, and $1.50. So when I check all five, the options total is correctly displayed as $39.50

    Cart Page and Checkout Page: The only addition that displays is the first one, so the total pre-tax price only shows as $26. For some reason, the only 4 additions aren’t showing.

    I already tried deactivating all my other plugins; that didn’t fix the issue, unfortunately. WordPress and all my plugins are on the latest version. My other PPOM fields on other products work just fine; however, all of those are either select inputs or checkbox inputs that can only have 1 checked value.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter eltorowebdesigns

    (@eltorowebdesigns)

    It seems that the only way I can get a checkbox input value to actually show up in the Cart/Checkout is if the checkbox input literally only has 1 possible option. This is very frustrating ??

    Hey @eltorowebdesigns,

    Thank you for using PPOM and for reaching out to us!

    Can you please share screenshots of the configuration you made for this input?

    Any additional details could help us resolve your issue – we’re here to help.

    Kind regards,

    Mara

    Thread Starter eltorowebdesigns

    (@eltorowebdesigns)

    Here you go!

    https://drive.google.com/drive/folders/1EfurIwd1hkRlraLDsVbhEmG8zg3_n-vZ?usp=sharing

    Right now the input isn’t required, all I had done previously to make it required is checking “Required” in the configuration.

    Also, please note that my previous message contradicts my original message. The current state of things is what I said in my previous message: the only way a checked value shows up in the Cart and Checkout is if that checkbox input only had 1 option.

    Can you confirm that a checkbox input can support an array of checked values? It should because on the single product page the options’ prices do all get added up, but it’s so weird how that information gets lost when going to the Cart/Checkout.

    Thread Starter eltorowebdesigns

    (@eltorowebdesigns)

    @mara3 Do multi-option checkbox inputs work on your end? I created a simple example where it’s a checkbox input with 3 max checked values; the options are A, B, and C. When I check all 3 and add to Cart, the Cart only says that “C” was checked. I feel like I must be doing something wrong, because I don’t see anyone else filing tickets about this. I just uploaded 4 screenshots to the previously linked GDrive folder showing this example.

    Plugin Support rodicaelena

    (@rodicaelena)

    Hi @eltorowebdesigns,

    Can you please try to see if this happens for you in the latest version 33.0.2? For me, it’s working well.

    Kind regards,

    Rodica

    Thread Starter eltorowebdesigns

    (@eltorowebdesigns)

    Hi @rodicaelena , I’m on the latest version of PPOM, WooCommerce, WordPress and PHP

    Plugin Support Poonam Namdev

    (@poonam9)

    Hi @eltorowebdesigns,

    The multi option checkbox is working fine for us. All the options are added to the cart. Screenshot: https://vertis.d.pr/i/gZoyrr.

    It might be a plugin conflict issue on your side, please follow this guide to check it: https://docs.themeisle.com/article/1112-theme-doesnt-work-as-expected-troubleshooting-guide.

    ?Looking forward to your reply.

    Thread Starter eltorowebdesigns

    (@eltorowebdesigns)

    Hi @poonam9 ,

    Hmm okay, that’s interesting. Can you please attach screenshots of your configuration for that multi-option checkbox input? Does anything look wrong with how I configured mine (see my Google Drive link for screenshots)?

    I won’t use the Health Check plugin because it apparently bricks a lot of people’s sites, but I’ve tried deactivating all plugins besides PPOM, WooCommerce, and my 3 Kadence plugins (Kadence Blocks, Kadence Blocks Pro, and Kadence Theme Pro). That didn’t fix anything, unfortunately. Removing all of my custom code from functions.php in my child theme didn’t fix the issue either.

    Thread Starter eltorowebdesigns

    (@eltorowebdesigns)

    Wow, through trial and error I was able to find the cause of the issue…

    I use the Kadence theme, and in the Customizer there is a section called “Woocommerce,” and within that there’s a section called “Add to Cart Behavior.” In that section, I’d had “Single Product Ajax Add to Cart” enabled (for all my products) so that there wouldn’t be a page reload when I added a single product to my cart. Well, once I disabled that option then my checked options suddenly started showing up in the cart.

    I just filed a support ticket with Kadence to let them know about this bug and see if they can fix it or at least provide a workaround. I did a little Googling and it looks like this is a common issue with Ajax and multi-value inputs; I think Kadence’s Ajax code needs to be updated to allow for an input to have an array of values and not just 1 value.

    Plugin Support rodicaelena

    (@rodicaelena)

    Hi,

    Thank you for the update! Glad to hear you’ve managed to find where the issue is coming from.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.