Jump to content

how i can i do count on tpl files?


Recommended Posts

12 hours ago, atillakilic said:

themes/laber_milano_homepage2/templates/catalog/_partials/product-prices.tpl

 

ı edıt thıs fıle.

am ı wrong?

You are right, if you use theme 'laber_milano_homepage2'.

And if you make changes correctly.

For example, in such line

<span itemprop="price" content="{$product.price_amount}">{$product.price}</span>

You need to replace like this

<span itemprop="price" content="{$product.price_amount}">{$product.price_amount * 0.8}</span>

And don't forget to clear cache in back-end at the page 'Performance' after you change *.tpl

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