cycochuck:
Found a solution to my problem. Not sure if its the right way to do it since I'm not a coder, but whatever works.
in /admin/create_orders.php look at line 42. It will say:
WHERE customers.customers_id = ".$customer_id;
> Change it so it now says:
> ```
WHERE ".TABLE_CUSTOMERS." . `customers_id` = ".$customer_id;
You may get the following error message after this fix:
If you get this look in the /admin/create_orders.php file for the following:
'currency_value' => zen_get_currency_value(DEFAULT_CURRENCY),
> and comment out the line. It should work now.:clap:
I found i was getting a blank page after fixing the initial table error.
Found the currency function is included in this addon in admin/includes/functions/extra_functions/edit_orders.php
To fix this just upload this file or add:
////////////////////////////////////////////////////////////////////////////////////////////////
//
// Function : zen_get_currency_value
//
// Arguments : currency_code currency code string
//
// Return : currency_value
//
// Description : Function to retrieve the currency_value based on the currency's code
//
////////////////////////////////////////////////////////////////////////////////////////////////
function zen_get_currency_value($currency_code) {
global $db;
$currency_query = $db -> Execute("select * from " . TABLE_CURRENCIES . " where code = '" . $currency_code . "'");
if (!$currency_query->RecordCount()) {
return 0;
}
else {
return $currency_query->fields['value'];
}
}
to the end of this edit_orders.php file before the closing ?> tag.
This will make sure the currency symbol is inserted into the database for the order.