Image Alt Text shows for product on main site, but not when product is on invoice

Topic summary

A store owner discovered that product images in Shopify-generated invoices lack alt text, despite alt text being properly configured on the main product pages. Testing with Mailtester.com flagged this issue specifically for thumbnail images (referenced as “Compact_cropped” in error messages).

Context:

  • Alt text displays correctly on product pages (example provided: fuel damper product)
  • Admin panel confirms alt text is present in product settings
  • Issue only affects invoice emails, not the main website

Motivation:
The store is experiencing deliverability problems with Gmail routing Shopify auto-generated invoices and tracking updates to spam/promotions folders. They’re attempting to resolve email deliverability by fixing accessibility and coding errors.

Current Status:
The user is seeking community guidance on how to modify code so product thumbnail alt text automatically appears in invoice emails. No solutions have been provided yet.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

While testing our website’s generated invoices with Mailtester.com it was noted that the Product Thumbnail images on the invoices are missing Alt Text. Would anyone in the community know how to update our coding so that the Alt Text of the product’s image automatically shows when in thumbnail form on the invoice?

Thumbnail is referred to as Compact_cropped in the error message.

Reason for this

Over time we’ve noted our clients using Gmail tend to receive the Shopify autogenerated invoices and tracking updates to the SPAM or Promotions folders. With hopes of fixing this we are going through and cleaning up errors along the way.

Example product, which already has Alt Text

https://iatuning.com/collections/fuel-dampers/products/subaru-fuel-damper-return

Admin view, which confirms Alt Text present

Error message, missing Alt Text in thumbnail form

We also get Alt Text error messages for these 2 items, which are not products: