Jump to content


Corporate Sponsors


Latest News: (loading..)

ocs1409

Member Since 25 Jan 2008
Offline Last Active Feb 05 2012, 17:13
-----

Posts I've Made

In Topic: Quantity Price Breaks

22 January 2012, 17:27

hello

first of all many thanks for this great contribution i have installed it together with sppc.

the problem is that i would like to update the gross and net price of all price breaks prices similar to the solution which was
mentioned on page 38 ( http://forums.oscommerce.com/topic/220794-quantity-price-breaks/page__st__740 )

but i can get it working.

can someone give met the right code for this problem ?

many thanks
eric

In Topic: NEW! Complete Order Editing Tool!

16 July 2011, 21:33

hi

i have installed track and trace contribution 3736 in this contribution

the problem is if i use the non-ajax version it works well

in the ajax version it is working except for the part where i want to save the data for the table order_history

the filled in $track_num and $track_pcode are not stored


the code i use in admin/edit_orders_ajax.php is :
//SADESA ORDER TRACKING
// tep_db_query("INSERT into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values
// ('" . tep_db_input($_GET['oID']) . "',
// '" . tep_db_input($_GET['status']) . "',
// now(), " .
// tep_db_input($customer_notified) . ", '" .
// oe_iconv($_GET['comments']) . "')");

tep_db_query("INSERT into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, track_num, track_pcode, comments) values
('" . tep_db_input($_GET['oID']) . "', '" .
tep_db_input($_GET['status']) . "',
now(), " .
tep_db_input($customer_notified) . ", '" .
tep_db_input($_GET['track_num'])) . "', '" .
tep_db_input($_GET['track_pcode']) . "', '" .
oe_iconv($_GET['comments']) . "')");
//SADESA ORDER TRACKING


the code used in admin/edit_orders.php is
//SADESA ORDER TRACKING
// tep_db_query("INSERT into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, comments) values ('" . tep_db_input($_GET['oID']) . "', '" . tep_db_input($_POST['status']) . "',
// now(), " . tep_db_input($customer_notified) . ", '" . tep_db_input(tep_db_prepare_input($_POST['comments'])) . "')");
tep_db_query("INSERT into " . TABLE_ORDERS_STATUS_HISTORY . " (orders_id, orders_status_id, date_added, customer_notified, track_num, track_pcode, comments) values
('" . tep_db_input($_GET['oID']) . "', '" . tep_db_input($_POST['status']) . "', now(), " . tep_db_input($customer_notified) . ", '" .
tep_db_input(tep_db_prepare_input($_POST['track_num'])) . "', '" . tep_db_input(tep_db_prepare_input($_POST['track_pcode'])) . "', '" . tep_db_input(tep_db_prepare_input($_POST['comments'])) . "')");
//SADESA ORDER TRACKING



in the file edit_orders_ajax.php i already changed $_get with $http_get_vars etc but no luck

greetings eric

In Topic: PDF Invoice Help Please...

02 March 2011, 13:00

install this contribution : http://addons.oscommerce.com/info/3115

greet
eric