Shopify themes, liquid, logos, and UX
Let's say I want to replace the Home Page with a 3D experience using a JavaScript library (https://threejs.org/).
I call the javascript file that contains the experience, from the home page .liquid file. I call it from a script tag with type="module".
How could I from the javascript file access the products active for sale data?
I would just need to print on the console a URL path to its main image, the price, and the name of 10 products, I don't really mind about the order of them.
Thanks for your help and sorry if this is a beginner question.
User | RANK |
---|---|
210 | |
166 | |
70 | |
55 | |
53 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023