Display the MinPrice / MaxPrice of each collection in Shopify

Here is a simple liquid code you can use in your collection-grid-item.liquid to display the MinPrice or MaxPrice on your /collections page. First you have to assign a sorted product collection. For example: priceMinMax

After that you can use priceMinMax as follows.

In order to display the maximum price of the collection, use the liquid code below.

In both cases it is necessary to use the money filter.