Yes, I'm looking for the tax class names.
I use : GST, HST, PST, TX1 and TX2
I use the same names in MYOB so when the tax class gets exported from Zen-Cart MYOB will know how to tax the item being imported.
The MYOB Zen-Cart module exports some stuff into a txt file but I can't seem to get the tax class name:
PHP Code:
$customers_id = $customer_id;
$customers_firstname = $order->customer['firstname'];
$customers_lastname = $order->customer['lastname'];
$customers_street_address = $order->customer['street_address'];
$customers_suburb = $order->customer['suburb'];
$customers_city = $order->customer['city'];
$customers_postcode = $order->customer['postcode'];
$customers_state = $order->customer['state'];
$customers_country = $order->customer['country']['title'];
$customers_telephone = $order->customer['telephone'];
$customers_email_address = $order->customer['email_address'];
$customers_address_format_id = $order->customer['format_id'];
$delivery_name = $order->delivery['firstname'] . ' ' . $order->delivery['lastname'];
$delivery_street_address = $order->delivery['street_address'];
$delivery_suburb = $order->delivery['suburb'];
$delivery_city = $order->delivery['city'];
$delivery_postcode = $order->delivery['postcode'];
$delivery_state = $order->delivery['state'];
$delivery_country = $order->delivery['country']['title'];
$delivery_address_format_id = $order->delivery['format_id'];
$payment_method = $order->info['payment_method'];
$cc_type = $order->info['cc_type'];
$cc_owner = $order->info['cc_owner'];
$cc_number = $order->info['cc_number'];
$cc_expires = $order->info['cc_expires'];
$date_purchased = 'now()';
$orders_status = DEFAULT_ORDERS_STATUS_ID;
$currency = $order->info['currency'];
$currency_value = $order->info['currency_value'];
$shipvia = $order->info['shipping_method'];
$comments = str_replace(array("\n", "\t", "\r"), ' ', $order->info['comments']);
Bookmarks