From b8413e5d2f3d1f1470d20af8af2e3fc365d17660 Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Tue, 4 Jun 2024 10:15:45 +0700 Subject: [PATCH] Update command.php --- command.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/command.php b/command.php index 6b3da23..4bcb0ee 100644 --- a/command.php +++ b/command.php @@ -334,7 +334,7 @@ private function setupShipping() { WP_CLI::runcommand( '--user=1 wc shipping_zone_method create 0 --order=2 --enabled=true --settings=\'{"title":"Free shipping"}\' --method_id=free_shipping' ); if ( false === get_option( 'woocommerce_pickup_location_settings' ) ) { - WP_CLI::runcommand( 'option add woocommerce_pickup_location_settings \'{"enabled":"yes","title":"Local Pickup","tax_status":"taxable","cost":""}\' --format=json' ); + WP_CLI::runcommand( 'option add woocommerce_pickup_location_settings \'{"enabled":"yes","title":"Pickup","tax_status":"taxable","cost":""}\' --format=json' ); } if ( false === get_option( 'pickup_location_pickup_locations' ) ) { @@ -386,8 +386,6 @@ private function setupPayments( $assoc_args ) { private function setupTax() { WP_CLI::runcommand( 'option set woocommerce_calc_taxes yes' ); WP_CLI::runcommand( '--user=1 wc tax create --rate=10 --class=standard' ); - // WP_CLI::runcommand( '--user=1 wc tax create --rate=5 --class=reduced-rate' ); - // WP_CLI::runcommand( '--user=1 wc tax create --rate=0 --class=zero-rate' ); } /**