Support » Plugin: WP eCommerce » No alt tags on 'Users who bought this also bought' images

  • igloobob



    it’s come to my attention there are no alt tags added to the 96px images used on ‘Users who bought this also bought’.

    How can this be fixed please does anyone know? Or is there some setting I’ve missed to make this work?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Does anyone know how this can be fixed? I’m sure it’s a WPEC issue and definitely needs fixing, bad times when there’s no alt tags on product images.

    My client’s had an SEO report done and this has cropped up – over 500 instances of missing alt tags on these auto generated product images. We definitely have alt tags on the images when we uploaded them.

    If you wanted to add alt image tags to the thumbnails I think the place to do it is in wpsc-components\theme-engine-v1\helpers\product.php.

    You could also create your own function and reference it it from your single product theme file in place of wpsc_also_bought.

    I am not sure if there was a reason the alt image tags were not included by default.

    Thanks for the suggestions Jeff, probably beyond me but I’ll have a crack!

    It shouldn’t be too difficult to put a patch in place.

    As an example to work from you can see how WordPress gets the tags from wp_get_attachment_image function in this file

    Let me know if you need help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No alt tags on 'Users who bought this also bought' images’ is closed to new replies.