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

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

    https://core.trac.wordpress.org/browser/tags/3.8/src/wp-includes/media.php#L0

    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.