ycorde Posted November 10, 2011 Share Posted November 10, 2011 Hi All, I have something strange, all my products have the same "img alt", for example following product: http://www.maselecti...of-oils-10.html If I have a look in the page source I can see that following "img alt": <img alt="Alarm clock with aroma diffuser and sounds of nature - Oregon" itemprop="image" src="http://www.maselecti...rld-of-oils.jpg"></a> All my products have the same img alt... Any idea how I can solve this? Note that I did an import of all the products using the "import" function in the back-office. Thanks in Advance Jack Link to comment Share on other sites More sharing options...
Thierryh Posted November 10, 2011 Share Posted November 10, 2011 Hi Jack Go in the file product-list.tpl (in your Theme folder) and have a look for the tags IMG ALT. There you can check how the ALT value is assigned and why you have invalide value 'Alarm clock...'. Hope it helps. Thierry Link to comment Share on other sites More sharing options...
ycorde Posted November 10, 2011 Author Share Posted November 10, 2011 Hi, Thanks four your answer but I can't find it in the product-list.tpl I can see following in the product.tpl <div id="ImageWrap" style="opacity: 1; width: 254px height: 200px;"> <a style="display: block;width: 252px; height: 200px;" rel="gallery" class="linkmod" href="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}"><img alt="{$product->name|escape:'htmlall':'UTF-8'}" title="{$product->name|escape:'htmlall':'UTF-8'}" src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}?Width=250&Height=200"> <div class="zoom"> </div> </a> </div> Link to comment Share on other sites More sharing options...
Thierryh Posted November 10, 2011 Share Posted November 10, 2011 you are right. It should be product.tpl However, I have the feeling that your product.tpl is not the original PrestaShop and it has been customized. Which version of PS do you have ? The HTML code you provide doesn't match with the source code of your page. See below. <div class="pi-wrapper"><div class="pi-gallery"> <ul class="items "><li > <a href="http://www.maselection.be/9-thickbox/poudre-de-bain-douceurs-d-orient-a-world-of-oils.jpg"> <img alt="Alarm clock with aroma diffuser and sounds of nature - Oregon" itemprop="image" .... Don't you use any extra module which manage the thumbnails (instead of the standard PrestaShop thumbnail) ? Thierry 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