Jump to content

Product Features As Icons Or Images On Product Page


Recommended Posts

  • 2 months later...
  • 2 months later...
  • 3 years later...

hi...

 

as sebkos wrote:

edit product.tpl and add this in "product's features" section <img src="{$img_dir}icon/{$feature.name}.gif"/> where $img_dir}icon/ is folder in your current theme ./themes/your_theme/img/icon 

 

 

this works, but ....

there's no image for that feature.value? (i use feature.value instead feature.name)

 

i would like to do something like:

 

IF {$feature.value}.PNG EXIST

the icon will be displayed

 IF NOT

the value of $feature.value will be displayed

 

 

any idea?

 

thanks

Link to comment
Share on other sites

  • 5 years later...
On 10/9/2015 at 4:34 PM, Pedro Pinto said:

hi...

 

as sebkos wrote:

 

this works, but ....

there's no image for that feature.value? (i use feature.value instead feature.name)

 

i would like to do something like:

 

IF {$feature.value}.PNG EXIST

the icon will be displayed

 IF NOT

the value of $feature.value will be displayed

 

 

any idea?

 

thanks

Did you found solution?
I also need something like this

Link to comment
Share on other sites

  • 3 months later...
  • 11 months 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...