doog_2019 Posted May 24, 2019 Share Posted May 24, 2019 (edited) Hi everyone I am optimizing my SEO, but when I fill the "legend / caption" on the image of the product, it does not appear in the code in the ALT tag.. Does anyone has the same problem ? This is my website: goodbrand.fr Thanks for your help Edited May 25, 2019 by doog_2019 (see edit history) Link to comment Share on other sites More sharing options...
doog_2019 Posted May 24, 2019 Author Share Posted May 24, 2019 If you need more informations, do not hesitate to ask me Link to comment Share on other sites More sharing options...
doog_2019 Posted May 25, 2019 Author Share Posted May 25, 2019 Hi everyone, This is what I found in my productList.tpl: ->>>>>>>> themes/mytheme/template/catalog/_partials/miniatures/productList.tpl What do you have in your file ? <img src = "{$product.cover.bySize.home_default.url}" data-full-size-image-url = "{$product.cover.large.url}" alt="" /> </span> {if isset($product.images[1])} <span class="hover_image"> <img src = "{$product.images[1].bySize.home_default.url}" data-full-size-image-url = "{$product.images[1].bySize.home_default.url}" alt="" /> </span> {/if} </a> Link to comment Share on other sites More sharing options...
doog_2019 Posted May 25, 2019 Author Share Posted May 25, 2019 (edited) Ok, so I found the solution by myself and I will tell you how I did for the ones who meet that problem. 💪 For me it was in the file "product.tpl" here : themes/mytheme/templates/catalog/_partials/miniatures/product.tpl I completed the ALT tags wich were empty and its working ! 😎 <img src = "{$product.cover.bySize.home_default.url}" data-full-size-image-url = "{$product.cover.large.url}" alt="{$product.cover.legend}" /> </span> {if isset($product.images[1])} <span class="hover_image"> <img src = "{$product.images[1].bySize.home_default.url}" data-full-size-image-url = "{$product.images[1].bySize.home_default.url}" alt="{$product.cover.legend}" Edited May 26, 2019 by doog_2019 (see edit history) Link to comment Share on other sites More sharing options...
Monica Liverani Posted December 3, 2020 Share Posted December 3, 2020 (edited) Hi Doog_2019 Did you filled "by hand" every product image? Edited December 3, 2020 by Monica Liverani (see edit history) 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