Guest Posted December 15, 2002 Posted December 15, 2002 Has anyone been able to install the Update Orders Contribution? I have tried for hours now and still doesnt work.. I am getting these errors... Warning: Failed opening 'includes/classes/_ups.php' for inclusion (include_path='') in /home/trend/public_html/admin/update_order.php on line 132 Fatal error: Cannot instantiate non-existent class: _ups in /home/trend/public_html/admin/update_order.php on line 133 Quote
Guest Posted December 20, 2002 Posted December 20, 2002 I had no problem. It's working fine. The only problem is that the total sum is not recalculating.... Torsten Quote
livefooduk Posted January 8, 2003 Posted January 8, 2003 I am not using UPS so I just commented out the whole shipping part. and the order total is updating just fine for me :D I think I may start having problems using this mod after my new OSC store has been running a few months though because of the shear nuber of orders. At present we process around 500 orders (with our existing cart) per week. With this mod you have to use a drop down select box to select the order you wish to modify and the drop down box lists the orders starting from the oldest first, I can see that I am going to have a HUGE list of orders to scroll through before I reach the order I wish to modify :cry: I was wandering if any one could help modifying the code so instaed of a select box you could just enter the order id number ? I think this is the bit I would need to modify // #### Get Available Orders $db_Query = "SELECT orders_id, customers_name, date_purchased FROM $db_Table_Orders ORDER BY date_purchased,customers_name"; $db_Result = db_query($db_Query) or FailPage($Msg_CouldNotGetOrders); if(db_num_rows($db_Result) > 0) { // Query Successful $SelectOrderBox = "<select name='OrderID'>n"; while($db_Row = db_fetch_assoc($db_Result)) { $SelectOrderBox .= "<option value='" . $db_Row["orders_id"] . "'>" . $db_Row["orders_id"] . " : " . $db_Row["date_purchased"] . " : " . $db_Row["customers_name"] . "</option>n"; } $SelectOrderBox .= "</select>n"; } else { // Query Failed FailPage($Msg_CouldNotGetOrders); } // #### Load Order if(IsSet($OrderID)) { if($step == 2) { // Print Stats // print "<pre>n"; // print_r($HTTP_POST_VARS); // print "</pre>n"; Quote Best wishes Steve
MikeMike Posted January 15, 2003 Posted January 15, 2003 Has anyone been able to install the Update Orders Contribution? I have tried for hours now and still doesnt work.. I am getting these errors... Warning: Failed opening 'includes/classes/_ups.php' for inclusion (include_path='') in /home/trend/public_html/admin/update_order.php on line 132 Fatal error: Cannot instantiate non-existent class: _ups in /home/trend/public_html/admin/update_order.php on line 133 I am getting the same error. I don't have any _ups.php in my catalog/includes/classes directory. There must have been some changes to the OSC snapshot since this mod was made. Regards Michael Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.