Tagged: Shopify liquid


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 Edit Robots.txt File in Shopify

Search engines, such as Google, constantly crawl the internet in search of new data as a source for their search results. The robots.txt file tells search engine bots, known as crawlers, which pages to...


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...