osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Coupons are Added instead of - in Admin

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 shipping ...

      
  1. #1
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Exclamation Coupons are Added instead of - in Admin

    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 $16.46
    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 08:44 AM. Reason: version of oscmax

  2. #2
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Re: Coupons are Added instead of - in Admin

    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. #3
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Coupons are Added instead of - in Admin

    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 Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  4. #4
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Re: Coupons are Added instead of - in Admin

    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. #5
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Re: Coupons are Added instead of - in Admin

    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. #6
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Re: Coupons are Added instead of - in Admin

    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. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Coupons are Added instead of - in Admin

    Upgrade to RC3 and then fix it
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Re: Coupons are Added instead of - in Admin

    So will it cause major mishaps if I just replace that one file?

  9. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Coupons are Added instead of - in Admin

    It shouldn't. Just make a backup of the original one in your version and give it a shot.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Re: Coupons are Added instead of - in Admin

    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]

Page 1 of 2 12 LastLast

Similar Threads

  1. Coupons by Ingo
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-07-2007, 11:30 AM
  2. Auth.net Transaction added to Admin
    By mrgtih2 in forum Authorize.net
    Replies: 0
    Last Post: 08-07-2007, 05:37 AM
  3. WYSIWYG editor for added pages in catalog section of admin
    By themainebaby in forum osCmax v2 Customization/Mods
    Replies: 6
    Last Post: 02-20-2006, 11:08 AM
  4. Why don't popups work when products are added through Admin?
    By Shadeau in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 05-28-2005, 11:54 AM
  5. Strange message in Admin at Coupons area
    By ozstar in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 04-18-2005, 04:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •