Skip to content

Commit

Permalink
Use csv instead xml
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux authored Apr 21, 2023
1 parent a164724 commit f0ac400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private function setupProducts() {
$this->attribute_ids['pa_size'] = WP_CLI::runcommand( 'wc product_attribute create --name=Size --slug=pa_size --user=1 --porcelain', $options );
}

WP_CLI::runcommand( 'import wp-content/plugins/woocommerce/sample-data/sample_products.xml --authors=skip' );
WP_CLI::runcommand( 'import wp-content/plugins/woocommerce/sample-data/sample_products.csv --authors=skip' );
WP_CLI::runcommand( 'wc tool run regenerate_product_lookup_tables --user=1' );
}

Expand Down

0 comments on commit f0ac400

Please sign in to comment.