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
- osCommerce Support Forum
- → Viewing Profile: ocs1409
Latest News: (loading..)
Community Stats
- Group Community Member
- Active Posts 14 (0.01 per day)
- Most Active In General Add-Ons Support (13 posts)
- Profile Views 5,053
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
eric
-
Gender
Male
Contact Information
0
Neutral
Friends
ocs1409 hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Quantity Price Breaks
22 January 2012, 17:27
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
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
- osCommerce Support Forum
- → Viewing Profile: ocs1409
- Forum Rules






Find content
