Thread: alt tags

Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default alt tags

    I want to change the Alt language on some of the image links. How do I do that? Where are these Alt tags defined? I've looked through dozens of pages of code and been searching the forum here and the web in general for hours looking for the answer.
    Its probably right in front of me but if it is, I can't see it. Anyone know?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: alt tags

    If you're referring to alt text on "additional" product images, there is presently no facility built-in to set different text for each image. Instead, for products, the alt text is taken from the product name.

    Or are you referring to some other set of images?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: alt tags

    Should have been clearer. I'm referring to the alt tags for the buttons. for instance the "category home" button on the product info page (between 'next' and 'prev') currently has a Alt tag "return to the product list". i want to modify that a bit as well as some of the other button alt tags.
    Hope that's clear.
    Thanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: alt tags

    For buttons, there is a "button_names.php" language file in which you can customize the alt text (2nd half of the file).
    Additionally, you can typically locate such a location by using the Developers Toolkit and searching for the text you want to change ... ie: "return to product list"
    https://www.zen-cart.com/tutorials/index.php?article=38
    https://www.zen-cart.com/tutorials/index.php?article=39

    Remember to save you language-file edits to an override folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. SEO and H1..tags - Img Alt tags
    By bginn in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Jun 2010, 09:35 PM
  2. alt tags
    By prodesk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2007, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg