Skip to content

A CLI utility to import/export orders, products, posts, etc in WooCommerce / WordPress

License

Notifications You must be signed in to change notification settings

WordPressUtilities/wpuwooimportexport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

WPU Woo Import/Export

  • A CLI utility to import/export orders & products in WooCommerce

Example 1 : Import orders modifications from a CSV file :

<?php

include dirname(__FILE__) . '/../wpuwooimportexport/inc/orders.php';

class WPUWOOTEST_UpdateOrders extends WPUWooImportExport_Orders {
    public function __construct() {
        $csv_file = dirname( __FILE__ ) . '/test.csv';
        $datas = $this->get_datas_from_csv($csv_file);
        $this->update_orders_from_datas($datas);
    }
}

new WPUWOOTEST_UpdateOrders();

About

A CLI utility to import/export orders, products, posts, etc in WooCommerce / WordPress

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages