Add a single Order export field with all Shipping address details

function custom_woo_ce_extend_order_fields( $fields ) { $fields[] = array( ‘name’ => ‘shipping_address_full’, ‘label’ => ‘Shipping: All details’, ‘hover’ => ‘Custom Order field within functions.php’ ); return $fields; } add_filter( ‘woo_ce_order_fields’, ‘custom_woo_ce_extend_order_fields’ ); function custom_woo_ce_extend_order( $order, $order_id ) { $order->shipping_address_full = ”;…Continue reading

Add a single Order export field with all Shipping address details

function custom_woo_ce_extend_order_fields( $fields ) { $fields[] = array( ‘name’ => ‘shipping_address_full’, ‘label’ => ‘Shipping: All details’, ‘hover’ => ‘Custom Order field within functions.php’ ); return $fields; } add_filter( ‘woo_ce_order_fields’, ‘custom_woo_ce_extend_order_fields’ ); function custom_woo_ce_extend_order( $order, $order_id ) { $order->shipping_address_full = ”;…Continue reading

Add a single Order export field with all Billing address details

function custom_woo_ce_extend_order_fields( $fields ) { $fields[] = array( ‘name’ => ‘billing_address_full’, ‘label’ => ‘Billing: All details’, ‘hover’ => ‘Custom Order field within functions.php’ ); return $fields; } add_filter( ‘woo_ce_order_fields’, ‘custom_woo_ce_extend_order_fields’ ); function custom_woo_ce_extend_order( $order, $order_id ) { $order->billing_address_full = ”;…Continue reading

Return the highest Variation Price as Variable Price in Product exports

function custom_woo_ce_product_variation_pricing( $product, $pricing_args ) { if( $pricing_args[‘min_price’] $pricing_args[‘max_price’] ) { $product->price = woo_ce_format_price( $pricing_args[‘max_price’] ); $product->sale_price = woo_ce_format_price( $pricing_args[‘max_sale_price’] ); } return $product; } add_filter( ‘woo_ce_product_variation_pricing’, ‘custom_woo_ce_product_variation_pricing’, 10, 2 );Continue reading

Adding static Order Item fields to the Orders export type

function custom_woo_ce_order_fields( $fields ) { $fields[] = array( ‘name’ => ‘order_items_static’, ‘label’ => __( ‘Order Items: Static Field’, ‘woo_ce’ ), ‘hover’ => __( ‘Custom Field within functions.php’, ‘woo_ce’ ) ); return $fields; } add_filter( ‘woo_ce_order_fields’, ‘custom_woo_ce_order_fields’ ); function custom_woo_ce_extend_order_item( $order_item…Continue reading

Creating a custom WordPress Plugin to extend Store Exporter Deluxe

/* Plugin Name: WooCommerce – Store Exporter Deluxe (Custom Add-on) Plugin URI: http://www.visser.com.au/woocommerce/plugins/exporter-deluxe/ Description: Custom Add-on Plugin for Store Exporter Deluxe Version: 1.0 Author: Visser Labs Author URI: http://www.visser.com.au/about/ Text Domain: woocommerce-exporter License: GPL2 Text Domain: woocommerce-exporter Domain Path: /languages/…Continue reading