Jump to content

Edit History

Massimo

Massimo

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

Massimo

Massimo

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.png.d391a26a845e6f64933f9b161fd21343.png

Massimo

Massimo

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

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

How can solve this?

Here an Example:
image.png.d391a26a845e6f64933f9b161fd21343.png

×
×
  • Create New...