parse_csv
{% assign rows = file.content | parse_csv %}
{% for row in rows %}
{% log row.sku | append: ": " | append: row.title %}
{% endfor %}Syntax
{{ csv_string | parse_csv }}Parameter
Description
Return Value
Examples
{% storage_read filename:"products.csv" as csv_content %}
{% assign rows = csv_content | parse_csv %}
{% log "Rows: " | append: rows.size %}
{% for row in rows %}
{% log row %}
{% endfor %}Notes
Last updated