Checks to see if legend as been added back if not adds product name to title and alt tags

See merge https://github.com/PrestaShop/PrestaShop/commit/e1d1479f225b1b8f8230aeebac617eadc8eb8f66  as to how Gregory wants it added.