Hi,
I am looking to create 6-7 product badge images on a product page and when clicked opens a modal, each with different text content. Since I’ll have ~60 badge images total and a product page can have 5-7 badge images only, what would be the best way to achieve this feature?
I was thinking using 2 metafields, 1 for image source and the other for the actual content and creating a logic in js file or product.liquid file to loop though and connect with image id and display a modal with metafield 2 content.
Let me know if someone has achieved this feature and if there is a better way.
Thanks!