Alatriste Posted November 25, 2014 Share Posted November 25, 2014 Hello all, Ok so see if any of you PHP gurus can land me an arm here. I have been trying to perform a slight modification in the code of my theme's product.tpl page, but had no success so far. I consider this should not be so difficult to do, but somehow I can't get the changes I'm making in the code to work. As you can see in an example of product page of my website here, I managed to make the manufacturer logo show at the product page (in this example the manufacturer is Domo). So what I'm trying to achieve now is for the alternative text to display the ACTUAL name of the manufacturer in every case, instead of just a "standard" text. Following, I'm showing the standard ALT text that can be read right now when you put the mouse cursor over the manufacturer's logo: "Ver todos los productos de este fabricante"(View all products from this manufacturer) And, this is what I would like to achieve (for this particular one example): "Ver todos los productos de DOMO" - (Domo is the manufacturer of the product in this example) So this is the code that is causing this current behavior in the product page (portion of the product.tpl from my theme's folder)... <div class="product_manufacturer"> <a href="manufacturer.php?id_manufacturer={$product_manufacturer->id_manufacturer}" title="{l s='Ver todos los productos de este fabricante'}"><img src="img/m/{$product_manufacturer->id_manufacturer}-medium_default.jpg" /></a> </div> ...And I have no freaking clue how I need to change this code I have tried already a lot of different things. I would be very grateful of any ideas. Thanks in advance, Alatriste Link to comment Share on other sites More sharing options...
Alatriste Posted November 26, 2014 Author Share Posted November 26, 2014 Bump Link to comment Share on other sites More sharing options...
Alatriste Posted December 4, 2014 Author Share Posted December 4, 2014 Anyone with an idea? Link to comment Share on other sites More sharing options...
El Patron Posted December 4, 2014 Share Posted December 4, 2014 moved to dev.. please also don't bump, review your original post and add more info, then you can then bump saying added new info. thanks 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