kowal.info

Export Product Attributes to CSV

Composer kowal/module-exportproductstocsv · Version 1.0.8

Product page

Export Product Attributes to CSV — kowal.co

Description

Download a CSV containing selected attributes for the products marked in the catalog grid. The administrator chooses the columns and the product selection separately.

For whom

For catalog teams preparing SKU, name and attribute lists for suppliers or sales staff.

Features

  • Configurable attribute columns.
  • An Export to CSV mass action in the product grid.
  • An additional product_type column containing the Magento product type.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/module-exportproductstocsv
bin/magento module:enable Kowal_ExportProductsToCsv
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Under Stores → Configuration → Kowal → exporttocsv → settings, select at least one entry in Attributes. Start with SKU and name.
  2. Open Catalog → Products, narrow the grid with filters and select the products to export.
  3. Choose Export to CSV from the mass actions menu and download the file.

Requirements / notes

The header uses attribute codes. For each value the exporter first tries the attribute’s display value. Values returned as an array are joined with a vertical bar.

FAQ

Why is product_type present even though I did not select it?

The module appends the product type as the last column. Select at least one configured attribute so the exporter also populates the data rows.

Verify the installation

bin/magento module:status Kowal_ExportProductsToCsv

Select two known products and open the downloaded file using a comma delimiter. Check that each SKU appears once and that names and product types match the catalog.