The code in this download folder adds sortable custom columns to the WooCommerce > All Products admin screen located at wp-admin/edit.php?post_type=product.
You can use the code to add custom field data to any/all single product pages and export it in CSV format as seen in the following gallery images.
![WooCommerce All Products Custom Columns](https://wpsites.net/wp-content/uploads/2024/05/woocommerce-all-products-480x300.png)
![WooCommerce Export products Custom Columns](https://wpsites.net/wp-content/uploads/2024/05/woocommerce-products-export-products-480x300.png)
![CSV Export Custom Columns Product Data](https://wpsites.net/wp-content/uploads/2024/05/export-csv-custom-columns-480x300.png)
The code :
- Adds custom columns on the WooCommerce > All Products >Custom Columns.
- Includes the custom columns on the WooCommerce > All Products > Export > Export products drop down menu.
- Includes the custom column headers and custom field data in the exported CSV file.
Custom Columns Field Input
Add your custom data on the single product data simple product box :
![](https://wpsites.net/wp-content/uploads/2024/05/custom-columns-data-input-field.png)
Video Demo
Shows the custom field input fields on the single product admin screen, the custom columns added to the export drop down menu and the custom column headers and data included in the CSV export file.
Installation
Copy and paste the code from the functions file to the end of your child themes custom code snippets/functonality plugin or functions file.
Was This Tutorial Helpful?