Tagged: Shopify liquid

How To Remove Any Duplicate Items In A Shopify Array

How To Remove Any Duplicate Items In A Shopify Array

0

How To Remove Any Duplicate Items In A Shopify Array

In this article, you will learn how to remove duplicates from an array in Shopify liquid. In fact, Shopify liquid supports that with the filter called uniq. Eg:

Output A, B, C, D,...

How to Generate Random Numbers in Shopify liquid

How to Generate Random Numbers in Shopify liquid

0

How to Generate Random Numbers in Shopify liquid

Today I am sharing a script code to create a random number in Shopify liquid.

And here is an example, generate a random number from 1 to 100. Wanna change the range, just...