This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| INFO interface: output: Machine booted and ready! | |
| INFO interface: output: ==> permanent: Machine booted and ready! | |
| ==> permanent: Machine booted and ready! | |
| INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f6994813148> | |
| INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f6994eb1a68> | |
| INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsEnvSet:0x00007f6994f9e728> | |
| INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsEnvSet:0x00007f6994f9e728> | |
| INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f6995237278> | |
| INFO warden: Calling IN action: #<Proc:0x00007f69954056e0@/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/lib/vagrant/action/warden.rb:126 (lambda)> | |
| INFO warden: Calling IN action: #<Vagrant::Action::Builtin::CloudInitWait:0x00007f6995236f80> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import sys | |
| # Define the path to the WooCommerce CSV file and the output Shopify CSV file | |
| woo_csv_path = sys.argv[1] | |
| shopify_csv_path = 'ShopifyCustomerUpload.csv' | |
| # Define the mapping from WooCommerce to Shopify column names | |
| column_mapping = { | |
| 'first_name': 'First Name', |
OlderNewer