Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
mikashv

Missing columns in export

Hi,

When i export order rows (woocommerce), the column “Product details” is missing in the CSV. Is it configurable anywhere ?

Thanks

5 years, 6 months ago
Stefan van den Dungen Gronovius
Developer

Hi there,

We decided not to implement export this particular column. The reason for this is that this column has a lot of aggregated data that is also displayed in HTML. Exporting this to CSV would not be very useful in most spreadsheet programs. A besides that, separate columns for each product info would be better than 1 column that has all the information.

But if you want to export this column and use the actual data, you could have a look at this filter.
https://www.admincolumns.com/documentation/filter-reference/acp-export-value/

You can check for the Produce Detail column and just return $column->get_value( $post_id ) as value. Or you could implement your own logic to get a better value for your purpose.

5 years, 6 months ago
mikashv

Thanks,
For our specific case, customers can only buy one product at once so it would’nt be a problem for us to get it in a single column.
However, as you said the column is ignored by the exporter thus it is not passed to the hook. The filter ac/export/value is not called for that column.
Any idea ?

5 years, 6 months ago
mikashv

Nevermind, we found another way !
Thanks anyway! ;-)

5 years, 6 months ago

You must be logged in to reply to this topic.