Hey Shopify team, we are getting loads of reports of issues with cart updates and all bundles in Shopify (created using “Shopify Bundles app”, using cart transform and using the mutation productVariantsBulkUpdate). Specifically, these are not working with cart quantity updates and removal on the bundles on the cart page and cart drawers. Reports have been coming in since yesterday (Jan 10, 2024) on these specific themes: Local, Prestige, Impact, Empire and Expanse themes.
This is the error message from cart/change.js request:
{
"status": "bad_request",
"message": "Parameter Missing or Invalid",
"description": "Required parameter missing or invalid: 'line' or 'id' param is required"
}
I have the same issue. A user reports it today. When I inspect the remove link on the cart page, I don’t find any wrong format. Therefore I guess it’s not a theme issue
Liam, I found this thread while trying to figure out a similar issue we noticed beginning right on or around 1/10/24 with bundles and /cart/change.js
In our case, we have some items correctly being merged into a bundle parent line item. However, if I then change the line item properties on the parent line item (using cart/change.js), it breaks the bundle and the cart is converted back to just the child items, no parent item, and the original line item properties of the child items (which is how they got bundled) are gone, so it no longer merges.
The timing of this suggests its related to the change that shipped around this time.
Hey Liam, I have the same issue on one of my stores, adding to cart works, but when someone updates quantites in cart, cart/change.js breaks
with this response
{“status”:“bad_request”,“message”:“no valid id or line parameter”,“description”:“no valid id or line parameter”}
store url https://leezus.com/, we use the ajax cart on product pages, the bug is behaving quite erratically, if you add or remove the products multiple times, it stops removing
Hi i have the same problem in my client online store, I did this method years ago and it works perfectly to delete a group, now when there are more than two items in the cart the method breaks and eliminates the products in disorder
$(“.remove”).click(function(){
event.preventDefault();
event.stopPropagation();
//obtener ids
var idpadre=$(this).attr(“idpadre”);
var idhijo=$(this).attr(“idhijo”);
console.log(idhijo);
//borrar padre mas hijo
var data = {
quantity: 0,
id: idpadre
}