I have a coupon code promo of 15 percent (shopping cart rule), when a user adds the product to the cart and applies the coupon code I need to show the original price and the discounted price of the bundle on the cart page

How to get the discounted price for a bundle on the cart page?


Simply use


to get the discounted product price.

If you also want to display the difference you can use


and subtract the result from getFinalPrice from it.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.