We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

how to give javascript variable to my liquid file to render product data

how to give javascript variable to my liquid file to render product data

satykumar36
Shopify Partner
3 0 0

Screenshot from 2024-12-19 17-24-33.png

Replies 2 (2)

Guleria
Shopify Partner
4299 825 1189

Hello @satykumar36 ,

 

  It's not possible to directly use a JavaScript variable inside a Liquid.  

 

 

- Elevate Your Store with Expert Shopify Services. Email: guleriathakur43@gmail.com - Need a quick fix or a tailored customization? I’ve got you covered.
- Looking to enhance your pages? Try GEMPAGES- a powerful drag & drop page builder.
- Let’s make your store stand out. Get in touch today!
- My Apps: Productify Groups – Smart product grouping made easy.
satykumar36
Shopify Partner
3 0 0

What the alternative solution can we use any API for that, if yes then if i sell my theme to any user then he have to change shopify frontend API key from code. Suggest the correct way.