laravel-woocommerce icon indicating copy to clipboard operation
laravel-woocommerce copied to clipboard

Removing item from order.

Open hassanlagmouri opened this issue 2 years ago • 0 comments

Hello,

I'm facing a problem while removing an item/items from an order, I've tried to do that by removing the wanted product from line_items and then updating the order by passing the new line_items but the product always stays. The other solution I've made is to make the product_id null and the quantity 0 then pass them in the order update method but always the same result, the product stays.

is there a way to make that possible?

Thanks.

hassanlagmouri avatar May 17 '22 23:05 hassanlagmouri