cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Total Discount value wrong under order in hybris backoffice

Former Member
0 Kudos
785

Hi Experts ,

There is something wrong with total discount value under order showing in the backoffice is different from the total discount value showing in store front ,when we apply more than two promotions ,please find the attached screen shots

thanks, prabhakar

Accepted Solutions (0)

Answers (1)

Answers (1)

skotni
Explorer
0 Kudos

,

As per the screenshots attached, it is observed that there are two discounts i.e. Product level(10) and Order level(13.97) so total discount in the summary page is (10 + 13.97 ) 23.97 which is calculated in AbstractOrderPopulator -> addPromotions() method for display purpose. This is default OOTB behavior.

Below is the code snippet:

prototype.setTotalDiscounts(createPrice(source, Double.valueOf(productsDiscountsAmount + orderDiscountsAmount)));

But in Backoffice, the value shown is the Order/Cart level discount which doesn't include the item discounts.