Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Hi,
I need to include the gift voucher amount in the csv.
Any idea how to do this?
Cheers
Endre
You would need to include that total from the corresponding class representation found in the "orders_total" table.
Query the proper class, pull the value.
Make sure you update the file in all needed locations and then check the results for proper inclusion of items (and that no previous items are missing in the results.)
Last edited by econcepts; 22 Feb 2010 at 05:43 PM. Reason: clarification
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
This is a great mod! THANK YOU!
I need help separating the attributes column in different rows like 1 Product per row. The reason is that I have 5 products and the 6th product is a combination (family pack) of the first 5. To keep inventory I have attributes separate stock. We have a warehouse system that prints postage etc and it needs to have these attributes act like separate products in one order (which is what they are).
We have several hundreds of orders a day and the manual separation is overwhelming.
Thank you in advance for the help.
MC
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
You're amazing!
I think I have a start by narrowing down the code that can be modified in admin/shipping_export.php (around line 180)
I've tried a couple things though that didn't work. I understand that most people would not want to split the attributes, so maybe there can be a check box that splits the attributes.PHP Code:
if ($_POST['filelayout'] == 2) { // 1 PPR RADIO
$str_export = $str_export . ",\"" . $order_details->fields['products_quantity'] . "\"";
$str_export = $str_export . ",\"" . $order_details->fields['final_price'] . "\"";
$str_export = $str_export . ",\"" . $order_details->fields['products_name'] . "\"";
$str_export = $str_export . ",\"" . $order_details->fields['products_model'] . "\",";
$product_attributes_rows="SELECT Count(*) as num_rows
FROM " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . "
WHERE orders_id = " . $order_details->fields['orders_id'] . "
AND orders_products_id = " . $order_details->fields['orders_products_id'] . "";
$attributes_query_rows = $db->Execute($product_attributes_rows);
$num_rows = $attributes_query_rows->fields['num_rows'];
If ( $num_rows > 0) {
$product_attributes_query="SELECT *
FROM " . TABLE_ORDERS_PRODUCTS_ATTRIBUTES . "
WHERE orders_id = " . $order_details->fields['orders_id'] . "
AND orders_products_id = " . $order_details->fields['orders_products_id'] . "";
$attributes_query_results = $db->Execute($product_attributes_query);
$str_export = $str_export . "\"";
for ($i = 0, $n = $num_rows; $i < $n; $i++) {
$str_export = $str_export . $attributes_query_results->fields['products_options'] . ': ' . nl2br($attributes_query_results->fields['products_options_values']) . " | ";
$attributes_query_results->MoveNext();
}
$str_export = $str_export . "\"";
}
}
Thank you,
MC
Hi Guys, I am hoping that this is the thread for the "Export Shipping Information" module found here: http://www.zen-cart.com/index.php?ma...roducts_id=604
The module seems to work fine except it does not export orders from all countries. United States and Australia seem fine but countries like the UK and Finland don't show up in my export. And I have tried all the export options. Should I re-upload all the files again?
Any ideas? Thanks.
Yes, this is the support thread for that.
What version are you using? It should work no matter the country etc...
I do know that version 1.2.6 has some reported issues (which I am working on as we speak) so I recommend version 1.2.5 for now.
Let me know if that version solves your problem. Again, it should work no matter the country.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Bookmarks