Jump to content

Dispay Custom value in Cart Detail Row


Massimo

Recommended Posts

Hi,
i've override this Cart.php function "applyProductCalculations"  to have two new variable:
row["total_reduction"]: the sum of reduction on row.
row["total_wr"]: Total of row without reduction.

But... if i call my variable in "cart-detailed-product-line.tpl" this display nothing.

(p.s. in var_dump $product i find this variable)

How can solve this?

Here an Example:
image.thumb.png.d3eef7b1c354c96bce97edfde76ac3a2.pngimage.png.d391a26a845e6f64933f9b161fd21343.png

Edited by Massimo (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...