on 2016 Jul 01 10:50 AM
In hybris 6.0, The delivery charges are not calculated until user is in cart page. If customer goes to checkout page, delivery charges is getting calculated and adding to the cart total. When customer comes back to the cart page the delivery charge is also shown as it is now part of the cart total. even if the value is not reached to the eligible level, the promotion is getting fired and the user can see the promotional message in the cart.
Hi Lavanya,
If you are using the legacy promotion module, this could be a problem. You will have to custom implement the desired behavior.
With the new promotion engine (v6.0 and beyond), the delivery cost is not included as part of cart total so it should work fine there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charles,
The RuleCartTotalConditionTranslator irTotalCondition sets the attribute "total" for CartRao. But my CartRao total includes the delivery costs.
AbstractOrderRaoPopulator sets it from cartModel TotalPrice.
In AbstractOrderRaoToOrderConverter the OrderCharge shippingCharge will be added. In my case its 29.0 XY dontCharge:false type:SHIPPING
Recalculate(DefaultRuleEngineCalculationService) totals sets cartRao.total from Order.getTotal.
Order.getTotal calculated with subTotal-discount+totalCharges
shipping charge added / ChargeType.SHIPPING is not disabled
What is going wrong?
User | Count |
---|---|
32 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.