learnshopify.dev/Workspace
code writing

Fill the `<select>`: first `{% assign current = collection.sort_by | default: collection.default_sort_by %}`, then loop `collection.sort_options` into one `<option value="{{ option.value }}">{{ option.name }}</option>` each, adding ` selected` to the option whose `option.value` equals `current`.

0 / 1 task solved
northwind-coffee.com
Live Storefront