Jump to content

Display discount_amount in cart page in PS 1.7.5.1


MariusGi

Recommended Posts

Hello,

I am trying to display total discount_amount which is set in backend bellow "specific prices" section.
The template I am looking at is cart-detailed-totals.tpl which is in themes/<theme_name>/templates/checkout/cart-detailed-totals.tpl

When I print $cart object there is a protected property list which I want to get.
For example discount_amount property. Then if there are more products I just to plan to loop and get total discount_amount for basket.

The goal is to show how much price is discounted as currently it shows only total AFTER discount.

Do you have any ideas how to solve it?

Edited by MariusGi (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...