function custom_woo_ce_scheduled_export_products_filter_by_custom_meta( $post_ID = 0 ) { // This is the Product meta key we want to filter Products by $meta_key = ‘performance_date’; $custom_meta = get_post_meta( $post_ID, ‘_filter_product_custom_meta’, true ); ob_start(); ?>Continue reading
function custom_woo_pd_get_filename_dynamic_filename( $output, $filename ) { // Check we are dealing with https://images.sample-domain.com/is/image/dynamic/products/… if( strpos( $filename, ‘images.sample-domain.com/is/image/dynamic/products’ ) !== false ) { $output = basename( $filename ); // Strip the filename down to the ? character $pos = strpos( $output,…Continue reading
function custom_woo_pd_get_filename_dynamic_filename( $output, $filename ) { // Check we are dealing with https://images.sample-domain.com/is/image/dynamic/products/… if( strpos( $filename, ‘images.sample-domain.com/is/image/dynamic/products’ ) !== false ) { $output = basename( $filename ); // Strip the filename down to the ? character $pos = strpos( $output,…Continue reading
function custom_woo_ce_order_items_individual_output( $output, $order, $order_item ) { if( !empty( $order->order_items ) ) { // Check the Order Item has a Product ID if( !empty( $order_item->product_id ) ) { // Multiply the Order Item by the Quantity value if( !empty( $order_item->quantity…Continue reading
add_filter( ‘woo_ce_enable_advanced_extra_product_options’, ‘__return_true’ );Continue reading
// Rename the default store node to Orders function custom_woo_ce_export_xml_store_node( $node = ” ) { return ‘Orders’; } add_filter( ‘woo_ce_export_xml_store_node’, ‘custom_woo_ce_export_xml_store_node’ );Continue reading
// Rename the default order_items to OrderLineItem function custom_woo_ce_export_xml_order_items_node( $node = ” ) { return ‘OrderLineItem’; } add_filter( ‘woo_ce_export_xml_order_items_node’, ‘custom_woo_ce_export_xml_order_items_node’ );Continue reading
// Rename the default order_items to OrderLineItem function custom_woo_ce_export_xml_order_items_node( $node = ” ) { return ‘OrderLineItem’; } add_filter( ‘woo_ce_export_xml_order_items_node’, ‘custom_woo_ce_export_xml_order_items_node’ ); ?>Continue reading
function custom_woo_ce_order_items_individual_output( $output, $order, $order_item ) { if( !empty( $order->order_items ) ) { // Check the Order Item has a Product ID if( !empty( $order_item->product_id ) ) { // Multiply the Order Item by the Quantity value if( !empty( $order_item->quantity…Continue reading