Public Ticket #2549371 Cant get the $_post['woosb_ids'] to update the cart, it got the initial woosb_ids Closed
Comments Damien started the conversationSeptember 24, 2020 at 10:22amIf 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.SincerelyDamien 767Janilyn repliedSeptember 25, 2020 at 1:56pmHi 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,226Dustin repliedSeptember 29, 2020 at 7:38amHi 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 Sign in to reply ...
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
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
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