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

percentage Discount on orderEntry applied multiple times

alt textRequirement:-

User wants product discount based on voucher code.

Strategy:-

Created custom promotion condition which takes vouchercode from OrderEntry and from condition to evaluate.

In action used OOTB PercentageOffDiscountonProduct, condition gets evaluated but promotion action gets applied multiple times. Attaching snaps for the same.alt text

Thanks in advance

12303-logs.png (111.4 kB)
Add a comment
10|10000 characters needed characters exceeded

  • did you resolve the issue or still facing? I would like to know more details on this question to help you. 1. Why are you not using coupons instead of vouchers or voucher is custom item type? which version of hybris you are using? 2. when you write custom condition based on that, drools rule has been updated so you can check the corresponding rule to verify your condition.

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 15, 2019 at 01:08 PM

    alt text


    12305-logs.png (111.4 kB)
    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.