[GemPages] The variable "Product" doesn't exist in Shopify

[GemPages] The variable "Product" doesn't exist in Shopify

DamienFr
Visitor
3 1 0

Hello,

 

We are using GemPages and have created a landing page. On this landing page, we selected a product to display various information.

 

On the other hand, in Shopify, we have a snippet to display a price table with recurring payment options.

 

In this snippet, the variable "product" does not exist, and my liquid code in Shopify isn't working. However, if I add this same snippet code in a "custom code" block in the GemPages editor, it works perfectly because the variable "product" is existing.

 

But, it's not very convenient to maintain and duplicate my code on every landing page. So, how can I use a snippet (and the product information) in a liquid page that is called by my landing page?

 

Thanks!

Reply 1 (1)

GemPages
Shopify Partner
5625 1261 1240

Hi @DamienFr,

I don't understand your issue very well.
Can you send me a snippet of your code on the page that is running correctly to check?

Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center