We’re trying to use product titles in Back in Stock emails, but it’s not picked up in the subject line. We’re using this:
{{ catalog_item.title }} is back in stock
The code above works perfectly well in the body of the email. Is the catalog_item variable simply not available in the subject line? I couldn’t find anything in the docs.
Any help appreciated, thanks very much.
Best answer by ArpitBanjara
Hey @npstudio
Can you try copying the dynamic tag from the preview for the title? and paste it in the subject line?
it should look something like - {{ event.ProductName|default:'' }}
The {{ event.ProductName|default:'' }} worked, thanks very much @ArpitBanjara!
Search saves time. Contributing compounds value.
The ROI of your reply? One helpful answer can support dozens of teams, build your credibility, sharpen your own expertise over time, foster connectivity, and create good karma – because what goes around comes around. The community is what YOU make it.