Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = "REPLACE INTO `sales_orders`
- (`state`, `status`, `coupon_code`, `protect_code` , `shipping_description`, `is_virtual` ,
- `store_id`, `customer_id` , `base_discount_amount`, `base_discount_canceled` , `base_shipping_canceled`,
- `base_shipping_invoiced` , `base_shipping_refunded`, `base_shipping_tax_amount` , `base_shipping_tax_refunded`,
- `base_subtotal` , `base_subtotal_incl_tax`, `base_total_due` , `payment_authorization_amount`, `shipping_discount_amount`
- , `subtotal_incl_tax`, `total_due` , `weight`, `customer_dob` , `increment_id`, `applied_rule_ids` , `base_currency_code`,
- `customer_email` , `customer_firstname`, `customer_lastname` , `customer_middlename`, `customer_prefix` , `customer_suffix`,
- `customer_taxvat` , `discount_description`, `ext_customer_id` , `ext_order_id`, `global_currency_code` , `hold_before_state`,
- `hold_before_status` , `order_currency_code`, `original_increment_id` , `relation_child_id`, `relation_child_real_id` ,
- `relation_parent_id`, `relation_parent_real_id`, `remote_ip`, `shipping_method` , `store_currency_code`, `store_name`,
- `x_forwarded_for`, `customer_note` , `created_at`, `updated_at`, `total_item_count`, `customer_gender` , `hidden_tax_amount`,
- `base_hidden_tax_amount`, `shipping_hidden_tax_amount`, `base_shipping_hidden_tax_amnt` , `base_shipping_hidden_tax_amount`,
- `hidden_tax_invoiced`, `base_hidden_tax_invoiced`, `hidden_tax_refunded` , `base_hidden_tax_refunded`, `shipping_incl_tax`,
- `base_shipping_incl_tax`, `paypal_ipn_customer_notified` , `gift_message_id`, `firstname`, `lastname` ,
- `telephone`, `postcode`, `billing_firstname` , `billing_lastname`, `billing_name`, `shipping_name` , `order_id`)
- VALUES
- ('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')";
Advertisement
Add Comment
Please, Sign In to add comment