Calling Variable Tags in Product Description

Highlighted
Tourist
10 0 5

I created a Variable Tag (added it to my theme files) and I'd like to call it from the Product Description. When I call the tag from another liquid file it works... but when I try to call it from the Product Editor it doesn't work.

How can I call a Variable Tag from the Product/WYSIWYG Editor? Do Variable Tags only work in liquid files?

What I added to the theme file:

{% assign favorite_food = 'apples' %}

What I'm trying to use in the Product Description:

My favorite food is {{ favorite_food }}.

 

0 Likes
Highlighted
Tourist
6 0 1

Did you figured it out?

0 Likes