| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
change product thumb alt tag | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I would like a little guidance for tweaking a line of code in product_thumbnail.tpl. I use BCSE easy variant view mod it lists all the variants in a table format for easy image viewing and ordering. The problem is that each variant image pulls the PRODUCT name and puts it into the alt tag. Some of my products have 100 variants, that means that I have the same "alt" tag repeated 100 time on a page... not good for seo.
My solution (unless a better one is offered) is to make the thumbnail image pull the variant name and insert it into the alt tag instead, creating unique alt tags on my product pages. Here is the orginal code: Code:
Here is what I am trying to do: Code:
the line in the bcse_evv.tpl that calls for the thumbnail image is Code:
maybe this could be adjusted easier to accomplish what I'm trying to do? does that look like it makes sense and should work?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
|||
X-Cart forums © 2001-2020
|