{"section":"known-issues","requestedLocale":"en","requestedSlug":"nominal-discount-unit-multipler-may-generate-negative-values","locale":"en","slug":"nominal-discount-unit-multipler-may-generate-negative-values","path":"docs/en/known-issues/Pricing & Promotions/nominal-discount-unit-multipler-may-generate-negative-values.md","branch":"main","content":"## Summary\n\n\nWhen using a \"nominal value\" type discount, if there afe multiples values affected for a same discount in the same cart, this discount is proportionally distributed among the items.\n\nFor instance, let's say I have `a nominal $50 discount` on an order that applies to all items on my cart, which is composed of the following items and original prices:\n\n- Item A, costs $100 --> with a 0.01 unit multplier\n- 2x Item B, costs $200\n\n\n---> Order total (without the discount) = $500\n\nThe $100 discount will be distributed according to the original price of the items, that is:\n\nA --> 100/500 --> -$50*1/5 = -$10\nB --> 200/500 --> -$50*2/5 = -$20\nB --> 200/500 --> -$50*2/5 = -$20\n\nHowever, the item A's price is actually 100*0.01 due to its unit multiplier, so, the final calculation for its price on the order will be: $1-$50 = -$49, which is a negative price.\n\nAltough this doesn't affect the calculation of the final proce of the order (because the deduced price of the discount will still be -$20), whis may impact ERP integrations.\n\n\n\n\n#### Simulation\n\n\nCreate an order in which there are  2+ items, one with a unit multiplier of value < 1 (ideally a very small value, such as 0.01) and other(s) without a unit multiplier.\n\nThen, create a nominal discount promotion valid for all the items within the cart.\n\nThe discount will be distributed considering the original  price of the item with the unit multiplier and possibly result in its price being negative\n\n\n#### Workaround\n\n\nUsing other promotion types to distribute the discount."}