Home › Forums › WC Vendors Pro Support › Export CSV has blank fields! › Reply To: Export CSV has blank fields!
March 8, 2017 at 11:39 pm
#58636
Alexandra
Participant
Hi Anna
I have found the file: wc-vendors-pro/public/class-wcvendors-pro-export-helper.php and it looks like I need to amend these two lines to get what I want:
$new_row[‘ customer’ ] = str_replace(‘<br/>’, ‘, ‘, $order >get_formatted_shipping_address() );
$new_row[‘ products’ ] = $products;
I can change shipping to billing and that populates the customer line with too much information including street address etc.- what would I put in there to simply pull email address? With products- what can I change $products to to get products at a variation level?
Many thanks in advance.