Skip to Content
author's profile photo Former Member
Former Member

Negative OnDemand Unit Price for tax calculation when applying multiple promotions.

Hi , the DefaultOnDemandPromotionService is causing the onDemandUnitPrice (when sending unit price for tax calculation to an external system) to be negative on orderlines that have 0 effective total price (as a consequence of a promotion), when a Product level promotion (ProductPercentageDiscountPromotion / ProductMultiBuyPromotion/ ProductBundlePromotion etc.) is also applied on the cart. This is causing the external tax calculation to fail. Is this a known issue?

thanks, Avdhey

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Sep 16, 2015 at 11:26 AM

    You will have to add some custom logic to avoid mutliple promotions changing the sale price to negative. This doesn't happen by default in the promotions module.

    The new promotion engine (planned to be released next year) will take care of this automatically.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 16, 2015 at 12:00 PM

    thanks Charles, Will add custom logic to avoid this.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.