Jump to content

Why does this cause the JS to fail


Kitlam123

Recommended Posts

on line 186 of order-detail.tpl

{convertPriceWithCurrency price=($product.product_price * $productQuantity|intval) currency=$currency convert=0}



Seems like a basic math operation (product.price * quantity)...

can you not do any math operations in the tpl files?
I am trying to get a tax value to display on the order history page, but everytime i try to generate the math to give me the tax value, the JS craps out....

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