I was wondering if it is possible to add Alt Text to my product images using Javascript.
The page is a dynamic item page, I have connected the elements using JS rather than via the dataset in order to speed things up.
However I’m a bit stuck on how to add the Alt Text using a field from the database within the code.
Is this possible to do at all?
Thanks