Using Liquid to Display Current Product description inside Page HTML?

Hey there!

I am trying to make modals for our website as a page so that I can add it to the product template -

  1. Is it possible to call liquid variable information inside HTML? I feel like I can, but I kept reading other things and getting conflicting information (to me)
  2. Is it possible to read the current tags of the product that is currently being displayed to show different information?

    I know it would have to be an if statement, I just want to know if this is possible before I go ahead and go head first into it. For example, we have different information we would want displayed if it was a gift versus a single favor. So if the current product they are visiting is a gift it shows X and if it’s a favor it would show Y.

I know I can also make different product templates/pages to fit each of my needs but there’s like… 12 of them…so I’m trying to not have to do that if I can help it lol

Thank you!

1 Like

@Puriti

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.