Closed xcom-magento closed 3 months ago
Hi @xcom-magento, thanks for reporting the issue. We are looking into it. In the mean time can you confirm if this discount is a discount offer, mix and match offer or a coupon offer ?
Hi @umarusaf902, the OneListCalculate response is:
<a:OrderDiscountLine>
<Id xmlns="http://lsretail.com/LSOmniService/Base/2017"/>
<a:Description>van 325,00 voor 229,00</a:Description>
<a:DiscountAmount>96.00</a:DiscountAmount>
<a:DiscountPercent>29.54</a:DiscountPercent>
<a:DiscountType>PeriodicDisc</a:DiscountType>
<a:LineNumber>10000</a:LineNumber>
<a:No>10000</a:No>
<a:OfferNumber>PR-0025</a:OfferNumber>
<a:OrderId/>
<a:PeriodicDiscGroup>PR-0025</a:PeriodicDiscGroup>
<a:PeriodicDiscType>DiscOffer</a:PeriodicDiscType>
</a:OrderDiscountLine>
The PeriodDiscType
is DiscOffer, so i think a discount offer.
Hi @xcom-magento, thanks for providing more details. FYI, we have managed to fix the issue and the code has already made its way into master branch and it will be available in the next release.
In the latest version of the LsRetail Magento module (2.7.0) the discount is missing in the totals view in the checkout and in the sales mails. We've found this commit where some logic is removed that applied the discountAmount to the quote item. The new totals breakdown doesn't make sense for a customer because they can't see how the order total is build up. This also applies to the sales mails.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)