Ureta Posted February 18, 2014 Share Posted February 18, 2014 I can't do this mod, I should do a function in products.php? or I can separate each number in tpl? I use {$productPrice} and ... <img src="{$img_dir}number.jpg" width = "10%" alt="{l s='5'}" /> Link to comment Share on other sites More sharing options...
vekia Posted February 18, 2014 Share Posted February 18, 2014 product.tpl by default shows price and product images.. so what's the problem? Link to comment Share on other sites More sharing options...
Ureta Posted February 18, 2014 Author Share Posted February 18, 2014 I wanna show the price with image numbers. I'm still trying: in products.tpl {$precio = str_split($productPrice)} <img src="{$img_dir}{$precio[0]}.jpg" width = "10%" alt="{$precio[0]}" /> I need to do a loop Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now