laravel-woocommerce
laravel-woocommerce copied to clipboard
Removing item from order.
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.