daphnevlo Posted October 10, 2009 Share Posted October 10, 2009 Hi there! I would like to insert an icon (.gif) before the name of each product feature on the tab on the product page. In my case it's weight, fitting and fabric.Does anybody know how I can fix this? I don't think it's possible in the backend, so I have to add it in a code file somewhere, I guess!? Link to comment Share on other sites More sharing options...
rocky Posted October 11, 2009 Share Posted October 11, 2009 You are right. There is no way to do this using the Back Office. Here is one way you could do this.In product.tpl in your theme directory, change: {foreach from=$features item=feature} {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'} {/foreach} to this: {foreach from=$features item=feature} {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'} {/foreach} Then put Weight.gif, Fitting.gif, Fabric.gif, etc in the img folder in your theme directory. Note that I haven't tested this code. Let me know if it works. 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