Parse CSV stock

Hello!

I’m building a platform with a fairly complex feature.

I want to be able to import a CSV file containing a product catalog (from a WIX store). My goal is to extract only the SKU, name, and quantity (the rows where fieldType = PRODUCT) and store them in a CsvSnapshotRow data type with the fields : products_name, sku, and quantity.

The problem is that in a stock CSV, there are a huge number of PRODUCT / VARIANT / MEDIA rows mixed together. I’ve attached a screenshot showing part of a typical CSV.

I’d like to find a way to solve this problem with a plugin or a backend workflow, but that’s beyond my capabilities.

Can anyone help me?

Thanks in advance!

We can build a custom plugin for you. Feel free to reach out at info@nocodeventure.com.