To import CSV file to any table add {{ html.importcsv() }} tag to Catalog Layout. It will render an Upload button to import CSV files.
CSV File header will be compared to table field names to import the data to correct fields.
If no match found or the first line of the CSV file is not a header with field names then the field order will be used.
After the data import complete the web page will be reloaded automatically.
Leave a Reply
You must be logged in to post a comment.