WC_Helper_Order class convert tab alignment to spaces
This commit is contained in:
parent
280904f9b4
commit
7dde4f58c7
|
@ -23,7 +23,6 @@ class WC_Helper_Order {
|
|||
|
||||
WC_Helper_Shipping::delete_simple_flat_rate();
|
||||
|
||||
|
||||
// Delete the order post
|
||||
wp_delete_post( $order_id, true );
|
||||
}
|
||||
|
@ -70,7 +69,6 @@ class WC_Helper_Order {
|
|||
);
|
||||
$order->set_address( $billing_address, 'billing' );
|
||||
|
||||
|
||||
// Add shipping costs
|
||||
$shipping_taxes = WC_Tax::calc_shipping_tax( '10', WC_Tax::get_shipping_tax_rates() );
|
||||
$order->add_shipping( new WC_Shipping_Rate( 'flat_rate_shipping', 'Flat rate shipping', '10', $shipping_taxes, 'flat_rate' ) );
|
||||
|
|
Loading…
Reference in New Issue