nafri, on 21 December 2009, 14:32, said:
NEW! Complete Order Editing Tool!
#3001
Posted 22 December 2009, 06:21
#3002
Posted 23 December 2009, 21:51
Quote
"1146 - Table 'XXXXXX.eorder_text' doesn't exist
SELECT * FROM eorder_text where eorder_text_id = '2' and language_id = '1'
The last version support it , but you must install Send HTML email V2- Otherwhise remove the buttom.
You must also to update database:
DROP TABLE IF EXISTS `eorder_text`; CREATE TABLE `eorder_text` ( `eorder_text_id` tinyint(3) unsigned NOT NULL default '0', `language_id` tinyint(3) unsigned NOT NULL default '1', `eorder_text_one` text, PRIMARY KEY (`eorder_text_id, language_id`) ) ; etc,etc,etc
I have other problem usin AJAX, the email forms return on blank.
Example:
Dear JOSE GARCIA
We would like to notify you that the status of your order has been update.
Order Number:
Date Ordered:: Wednesday 23 December, 2009
Detailed Invoice:
EMAIL_TEXT_COMMENTS_UPDATE_HTML
Thank you so much for your order with us!
The status of your order has been updated.
New status:
.......
Could anyone help me???
#3003
Posted 23 December 2009, 22:30
In editor screen apeared 2 checkboxes:
X Shipping same as billing address
X Billing same as customer address
I checked them and update. And now they are always minimized and dont kown how to came back them.
#3004
Posted 23 December 2009, 22:44
<td colspan="4" valign="middle" class="dataTableContent"><input type="checkbox" name="billing_same_as_customer"> <?php echo TEXT_BILLING_SAME_AS_CUSTOMER; ?></td>
anyone?
#3005
Posted 01 January 2010, 21:09
bhbilbao, on 23 December 2009, 21:51, said:
I have other problem usin AJAX, the email forms return on blank.
Example:
Dear JOSE GARCIA
We would like to notify you that the status of your order has been update.
Order Number:
Date Ordered:: Wednesday 23 December, 2009
Detailed Invoice:
EMAIL_TEXT_COMMENTS_UPDATE_HTML
Thank you so much for your order with us!
The status of your order has been updated.
New status:
.......
Could anyone help me???
#3006
Posted 03 January 2010, 22:46
Can you please help me with this?
I installed contri 1435 OrderEditor version 5.0.9,
on a OsC rc2a with Super Download shop, iDeal, Paypal IPN.
My dialog for edit orders
1. Misses the 'submit' buttons
2. shows the next text 3 times:
Warning: number_format() expects parameter 1 to be double, string given in C:\Server\www\myserver.dev\public_html\winkel\admin\edit_orders.php on line 1737
This is the piece of code around line 1737 in edit_order.php
if (ORDER_EDITOR_USE_AJAX == 'true') { echo
' <td align="right" class="dataTableContent">' . "\n" .
' <input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="'
. trim($order->totals[$i]['title'])
. '" onChange="obtainTotals()"></td>' . "\n" .
' <td align="right" class="dataTableContent">' . "\n" .
' <input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="'
. number_format($order->totals[$i]['value'], 2, '.', '')
. '" size="6" onChange="obtainTotals()"></td>' . "\n" .
' <td align="right" class="dataTableContent">' . "\n" .
' <input name="update_totals['.$i.'][class]" type="hidden" value="'
. $order->totals[$i]['class'] . '"></td>' . "\n" .
' <td align="right" class="dataTableContent">' . "\n" .
' <input name="update_totals['.$i.'][id]" type="hidden" value="'
. $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
} else { echo
' <td align="right" class="dataTableContent">' . "\n" .
' <input name="update_totals['.$i.'][title]" id="'.$id.'[title]" value="'
. trim($order->totals[$i]['title']) . '"></td>' . "\n" .
' <td align="right" class="dataTableContent">' . "\n" .
' <input name="update_totals['.$i.'][value]" id="'.$id.'[value]" value="'
. number_format($order->totals[$i]['value'], 2, '.', '')
. '" size="6">' . "\n" .
' <input name="update_totals['.$i.'][class]" type="hidden" value="'
. $order->totals[$i]['class'] . '">' . "\n" .
' <input name="update_totals['.$i.'][id]" type="hidden" value="'
. $shipping_module_id . '" id="' . $id . '[id]"></td>' . "\n";
}
AFAIK the warning means that number_format($order->totals[$i]['value'], 2, '.', '') in the if statement before else is wrong, because $order->totals[$i]['value'] seems to be a string, while a 'double numeric' is required.What can I do to avoid the warnings?
These warnings completely destroy the lay out.
This is my development configuration:
MySQL * Server: MySQL host info: 127.0.0.1 via TCP/IP * Serverversie: 5.1.41-community * Protocolversie: 10 * Gebruiker: XXXXXXXXX@localhost * MySQL Karakterset: UTF-8 Unicode (utf8) Web server * Apache/2.2.14 (Win32) PHP/5.3.1 * MySQL-client versie: mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $ * PHP uitbreiding: mysql
Thanks in advance for your help!
Eveline
Edited by Denkster, 03 January 2010, 22:49.
#3007
Posted 06 January 2010, 21:49
For example the state filed shows California in Customer, Billing Address, and Shipping Address but then after adding a product, all 3 state fields are changed to number 223. see the picture here: [img]http://www.bootcraze.com/ordereditorStateError.jpg[/img]
Thanks in advance
Edited by tarroz, 06 January 2010, 21:56.
#3008
Posted 08 January 2010, 08:01
Edited by kenz, 08 January 2010, 08:03.
#3009
Posted 08 January 2010, 15:07
kenz, on 08 January 2010, 08:01, said:
stock osCommerce charges the order at the time of placing an order. This contribution does not have a facility to make adjustments to the credit card payment after an order is edited. This contribution allows you to change the order after the charge has been made, so you must manually collect the customer's CC when you have them on the phone and make adjustments through the Authnet virtual terminal as needed by the order adjustment.
You would want to look for contribution that allows you to delay the processing of the CC until a time of your choosing. But then, how long to do wait for the customer to call about changes? 1 day? 2 days? Do you want to delay your order fulfillment to wait for those changes? Or maybe its better to simply get the card processed and the order shipped as quickly as possible.
You should also consider CC merchant agreements. If you are in the US, CC merchant policy is to not store the security code electronically. So if you use a contribution to delay processing the CC in order to allow for a phone call to change the order, then you are violating the merchant agreement. If someone were to break into your site while some of those card holders' info is still there, you could get a stiff penalty from Visa or MC.
#3010
Posted 08 January 2010, 15:14
tarroz, on 06 January 2010, 21:49, said:
For example the state filed shows California in Customer, Billing Address, and Shipping Address but then after adding a product, all 3 state fields are changed to number 223. see the picture here:
Thanks in advance
that's quite interesting. The version I'm working from (surfalot 18 Nov 2009) has a state dropdown list, it would not be possible for what you are describing.
#3011
Posted 09 January 2010, 03:08
I want to upgrade to the most recent version.
Is it recommended to apply each update one by one up to the current, or can I jump straight to the current?
Thanks
#3012
Posted 09 January 2010, 05:13
gremlin484, on 09 January 2010, 03:08, said:
I want to upgrade to the most recent version.
Is it recommended to apply each update one by one up to the current, or can I jump straight to the current?
Thanks
if you understand how to work a file compare tool, jump. I've seen a couple strange comments since the v5.0.8 & 9, so if you have trouble with the latest, try the version I upped.
#3013
Posted 09 January 2010, 05:18
surfalot, on 08 January 2010, 15:14, said:
I was using the newest version: 5.0.9b Full and I also tried 5.0.7 both had the same problem. The problem actually lies in my old version of general.php which had an old version of function tep_get_zone_name as follows:
function tep_get_zone_name($zone_id) {
$zone_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_id = '" . $zone_id . "'");
if (!tep_db_num_rows($zone_query)) {
return $zone_id;
} else {
$zone = tep_db_fetch_array($zone_query);
return $zone['zone_name'];
}
}
which should be changed to the current function:
function tep_get_zone_name($country_id, $zone_id, $default_zone) {
$zone_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country_id . "' and zone_id = '" . (int)$zone_id . "'");
if (tep_db_num_rows($zone_query)) {
$zone = tep_db_fetch_array($zone_query);
return $zone['zone_name'];
} else {
return $default_zone;
}
}
#3014
Posted 14 January 2010, 16:50
bhbilbao, on 23 December 2009, 21:51, said:
You must also to update database:
DROP TABLE IF EXISTS `eorder_text`; CREATE TABLE `eorder_text` ( `eorder_text_id` tinyint(3) unsigned NOT NULL default '0', `language_id` tinyint(3) unsigned NOT NULL default '1', `eorder_text_one` text, PRIMARY KEY (`eorder_text_id, language_id`) ) ; etc,etc,etc
when i trie to run the above on DB then i get
Fout
SQL-query:
CREATE TABLE `eorder_text` (
`eorder_text_id` tinyint( 3 ) unsigned NOT NULL default '0',
`language_id` tinyint( 3 ) unsigned NOT NULL default '1',
`eorder_text_one` text,
PRIMARY KEY ( `eorder_text_id, language_id` )
);
MySQL retourneerde:
#1072 - Key column 'eorder_text_id, language_id' doesn't exist in table
someone any idea
tnxs
#3015
Posted 14 January 2010, 17:38
wvdbroek, on 14 January 2010, 16:50, said:
tnxs
the error in that sql should be corrected as follows:
DROP TABLE IF EXISTS `eorder_text`; CREATE TABLE `eorder_text` ( `eorder_text_id` tinyint(3) unsigned NOT NULL default '0', `language_id` tinyint(3) unsigned NOT NULL default '1', `eorder_text_one` text, PRIMARY KEY (`eorder_text_id`, `anguage_id`) ) ;but my guess is there is more to this then adding the table.
Edited by surfalot, 14 January 2010, 17:39.
#3016
Posted 14 January 2010, 18:01
surfalot, on 14 January 2010, 17:38, said:
DROP TABLE IF EXISTS `eorder_text`; CREATE TABLE `eorder_text` ( `eorder_text_id` tinyint(3) unsigned NOT NULL default '0', `language_id` tinyint(3) unsigned NOT NULL default '1', `eorder_text_one` text, PRIMARY KEY (`eorder_text_id`, `anguage_id`) ) ;but my guess is there is more to this then adding the table.
Fatal error: Call to undefined function tep_add_base_ref() in edit_orders_ajax.php on line 1144
again any idea














