I am unable to get the Image title tag to display a variable

U087991
Tourist
10 0 2

Trying to add alt tag title to auto populate based on alt text. My delivered  code is displaying title = "". 

alt="{{product.title }}"
title="{{product.title }}"

and

alt="{{ product_card_product.featured_media.alt | escape }}"
title="{{ image.alt | escape }}"

 

Is there anything wrong with this code? How can I add a meaningful display so title is different than alt text?

 

Replies 0 (0)