Try our conversational search powered by Generative AI!

LineItem Quantity


In cases where we can only ship parts of an order I want to keep the line item (for reference) but set the quantity to 0.
Lets say a customer have ordered product X, Y and Z, but we will only ship X and Z. I still want to keep Y as part of the shipment/line item collection, but with Quantity 0.

Does Commerce support setting ILineItem Quantity to 0 (cause I'm getting DivideByZeroExcptions....)?

(Applies to version 9.24 of Commerce)

Nov 21, 2016 21:10

To answer my own question: It was our CalculateDiscount workflow that was the problem. 

Nov 21, 2016 21:41
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.