Home / Admin / Use Billing Address in Order Exports
Duplicate Snippet

Embed Snippet on Your Site

Use Billing Address in Order Exports

By default the export order feature for the vendor dashboard users the customers shipping address. This is great if you are shipping physical products however if you are selling virtual or downloadable products there might not be shipping address to reference. This code snippet will enable the use of the billing address in the exported CSV.

Code Preview
php
<?php
add_filter( 'wcv_export_orders_use_shipping_address', 'wcv_order_export_use_shipping_address' );
function wcv_order_export_use_shipping_address( ){
return false;

Comments

Add a Comment