WP eCommerce
No alt tags on 'Users who bought this also bought' images (5 posts)

  1. igloobob
    Posted 2 years ago #


    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?



  2. igloobob
    Posted 2 years ago #

    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.

  3. Jeffrey Schutzman
    Posted 2 years ago #

    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.

  4. igloobob
    Posted 2 years ago #

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

  5. Jeffrey Schutzman
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic