Jump to content

How to display variables from another tpl file?


Recommended Posts

Hello all,

 

I have one simple question. I want to display some variables in this file product_list.tpl from this file product.tpl .

 

What is my goal?

 

I want to display discount in image on this page http://www.computers.rs/22-laptop-racunar

And that discount is showed on this page http://www.computers.rs/laptop-racunar/34475-asus-transformer-pad-tf103cg-1a022a-3g-10-1-intel-atom-z2560-dual-core-1gb-16gb-android-4-4-crni.html

 

Discount is called "Ušteda:" and its working with this formula {convertPrice price=$productPriceWithoutReduction - $productPrice}

 

 

In attached photo you can see what i have done, but its showing always  "Ušteda: 0" as discount price.

 

 

post-764993-0-15644900-1436426527_thumb.jpg

Link to comment
Share on other sites

  • 5 weeks later...

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