Repository Forums Support Expiry dates for WooCommerce PRO Expiry date not displayed as expected Reply To: Expiry date not displayed as expected

#1772
Soft79
Keymaster

If you use this plugin: https://nl.wordpress.org/plugins/product-import-export-for-woo/

And include this filter to your functions.php:


add_filter( 'woocommerce_csv_product_post_columns', function( $arr) {
	$arr['_j79_wcxd_expiries'] = '_j79_wcxd_expiries';
	$arr['_j79_wcxd_expiry_date'] = '_j79_wcxd_expiry_date';
	return $arr;
});

Now you can export the expiry dates. Please note that dates are stored as unix timestamp.

I’m not sure if import works out of the box. I’ve never tested it.