Alt text for dynamic images

This is relative to:

Where it says:
“If you leave the alt text blank it’ll default to the Attachment alt text for those WC layouts. It looks like archive purposely setups different Alt texts, but it might be more clear to do the same as the Product image element which is has no alt text setup”

But I have a custom WC looper, and if I use the dynamic element “Product image” the “alt text” for the product images are not working: in the html the img tag has alt=“Image”.
In the same WC products looper, if I use the element “Featured image” (wich looks like is the first WC product image), then the alt text in the image is working fine.

Looks like it needs to be arranged so it can work fine with the element “Product image”.

Anyway I feel that it must be a dynamic field that can be selected to put it in the “alt text” field, instead of leaving it “blank”. Or maybe something like:
{{dc:post:featured_image_id alt}}
or
{{dc:woocommerce:product_image alt}}

Thank you

Hello @llribas,

Thanks for writing to us.

Please have a look at this thread for reference.

Hope it helps
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.