Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Since liquid is a server side language I'm having difficulty getting the actual Product price when out of Multiple product variants one is chosen. Can anyone let me know how to get accurate price of Product variant when chosen from multiple options respectively. Based on the product option the Product price needs to be given to javascript variable so that it can be used in client side.
Why not just use Liquid to generate a JSON object containing all the variants?
You could use a for loop, and emit an array containing each variant's iD, title, price, and compare at price.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024