Hi @KLC
The simple code I can think about is using map and sort. And I assume you are using theme with custom liquid enable to make it simpler to add. Please follow the instructions below.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Customize”.
- Go to your product page, and add a “Custom liquid” block.
- Place the the code below in the textfield provided
{% assign price_range = product.variants | map: "price" | sort %}
{{ price_range.first | money }} - {{ price_range.last | money }}
See image for reference:
