This is a discussion on Coupons are Added instead of - in Admin within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I have been searching for an answer, but havent been successful just yet... Current Version: osCMax v2.0 RC2 No ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have been searching for an answer, but havent been successful just yet... Current Version: osCMax v2.0 RC2 No shipping is installed. Admin wants to send customer email with total for shipping after package is ready to be shipped. Orders work fine until we have a coupon set up. In admin, it shows that the coupon is being added to the total instead of subtracted: 1 x Catch A Falling Star Tag Ornament (Sale 323) $8.21 1 x Warm 'n Wooly Mittens (Sale 25 1 x Folk Art Hangables (Individual) (Sale 236B) $7.96 Sub-Total: $32.63 Shipping $4.60 Discount Coupons:YES0710: $3.27 Total: $40.50 How is shipping being calculated if nothing is set to use to calculate it, and why is the discount being added? Last edited by countingsheep; 12-28-2007 at 09:44 AM. Reason: version of oscmax |
|
#2
| |||
| |||
| Just a note, this is only happening in the admin area, the email that the customer and the admin owner gets, reflects the proper calculations? |
|
#3
| ||||
| ||||
| See the bugtracker and sticky here on the forums regarding this. This is an old issue that has to do with how the order editor mod was coded. There is a fix posted here: Edit Orders Bug
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#4
| |||
| |||
| Using dreamweaver to search, neither of the files have either of those lines of code in it.... based on the set of instructions in this link. Edit Orders Bug |
|
#5
| |||
| |||
| The edit_orders.php file... this is the only part I can find that is similar: around Line 1048 // Override order.php Class's Field Limitations $totals_query = tep_db_query("select * from " . TABLE_ORDERS_TOTAL . " where orders_id = '" . (int)$oID . "' order by sort_order"); $order->totals = array(); while ($totals = tep_db_fetch_array($totals_query)) { $order->totals[] = array('title' => $totals['title'], 'text' => $totals['text'], 'class' => $totals['class'], 'value' => $totals['value'], 'orders_total_id' => $totals['orders_total_id']); } Would that be where I change it? Although, in the admin/classes/orders.php file, I cant find anything close to what he shows.. |
|
#6
| |||
| |||
| After looking into this more, I see the file being used for the edit_orders.php file is $Id: edit_orders.php,v 1.2.2.1.2.2 2005/09/21 20:57:37 Michael Sasek Exp $ osCMax Power E-Commerce osCommerce Documentation by OSCdox :: osCommerce and osCMax documentation Copyright (c) 2003 osCommerce |
|
#7
| ||||
| ||||
| Upgrade to RC3 and then fix it
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#8
| |||
| |||
| So will it cause major mishaps if I just replace that one file? |
|
#9
| ||||
| ||||
| It shouldn't. Just make a backup of the original one in your version and give it a shot.
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
|
#10
| |||
| |||
| That caused errors just adding the one file. Maybe I am supposed to add all three.. I will try that... but I also have another question.. why does this happen: That is what is on the email the client receives after placing the order. FROM: nobody@black.countingsheepwebdesigns.com on behalf of Diane Rudolph [diane@thebrushnpalette.com] |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coupons by Ingo | michael_s | New osCommerce Contributions | 0 | 12-07-2007 12:30 PM |
| Auth.net Transaction added to Admin | mrgtih2 | Authorize.net | 0 | 08-07-2007 05:37 AM |
| WYSIWYG editor for added pages in catalog section of admin | themainebaby | osCMax v2 Customization/Mods | 6 | 02-20-2006 12:08 PM |
| Why don't popups work when products are added through Admin? | Shadeau | osCMax v1.7 Installation | 1 | 05-28-2005 11:54 AM |
| Strange message in Admin at Coupons area | ozstar | osCMax v1.7 Discussion | 2 | 04-18-2005 04:35 PM |