Skip to product information
1 of 1
Published:2023.07.14

How to get random numbers with Shopify's template language Liquid

How to get random numbers with Shopify's template language Liquid

Applications

  • LIQUIDEdit
View full details

There is no random function in Shopify's template language Liquid, but it seems there is a way to apply milliseconds like this. I see, if milliseconds are counted quickly, it's like generating random numbers every time.




Related Post