Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2549371
Cant get the $_post['woosb_ids'] to update the cart, it got the initial woosb_ids
Closed

Comments

  • Damien started the conversation

    If I change the quantity of one product of the bundle on the shop, the cart is not updated. 

    I could see the hidden variable name 'woosb_ids' changed on fly with ajax on the shop:

    <form class="cart" method="post" enctype="multipart/form-data">
            <input name="woosb_ids" class="woosb_ids woosb-ids" type="hidden" value="58379/1,58381/1,67643/1,58375/1,58373/1,58371/1,58369/1,58367/1,58365/1,58358/1,71622/5">

    When I 'add to the cart' it displays the product quantity by default, not the one updated during the shop.

    It seems I cant get the hidden form $_POST[ 'woosb_ids'] on the cart to update the cart.

    Sincerely

    Damien




  •  767
    Janilyn replied

    Hi Damien,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  1,226
    Dustin replied

    Hi Damien,

    Please turn off the "AJAX add to cart on the single product page", it may be located in the theme's settings.

    After that, you can try our plugin https://wordpress.org/plugins/wpc-ajax-add-to-cart/, it was tested and works fine with the bundle.

    Best regards,
    Dustin