osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

subtotal and negative balances

This is a discussion on subtotal and negative balances within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello all, I'm fighting a problem right now where we send out some parts that are inexpensive, and we ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 08-22-2006, 05:59 PM
New Member
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
istdesigns.com
Default subtotal and negative balances

Hello all,
I'm fighting a problem right now where we send out some parts that are inexpensive, and we use a "free shipping" coupon. The parts cost is less than the Fedex shipping charge and corresponding coupon amount. We just put the items in an envelope and mail 'em because I can't see charging our customers $8 shipping on a $5 part.

First oddity: The coupon drives the subtotal negative, because the subtotal reports an amount net of the part and free shipping. The report display order is subtotal, shipping, coupon, total. I know you can mess up the math if the order is wrong. Anyway, the net result is a declined charge via the gateway because the subtotal is negative.

Second oddity: Half the time this reports the right value in the subtotal! However, if you hit refresh it will bomb and give a negative subtotal (it is NOT subtracting the free shipping twice, though, it just changes the order in which it calculates. It displays in the same order every time, just the amounts can change...odd!!).


Sort order in the admin order total module is:

1. Subtotal
2. Shipping
3. Discount
4. Order Total

The other options in the order total module are off (tax, low order fee, gift coupon, etc).

I've tried everything and can't figure this out. I've searched the forum also, and all solutions were "make sure the sort order is the default" which it is, I've even tried the sort order number values of 800 for total, etc.

Any ideas? Seems to me the ot_coupon.php or the ot_subtotal.php is coded wrong somewhere and needs a minor tweak. Or something is corrupt, but we have not had a problem before trying this "free shipping" coupon on low-cost items.

Actually, the ot_subtotal.php module shouldn't even be looking at discount coupons. That is the problem! They should be addressed in the total only, not the subtotal.

Thanks for any and all help!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Subtotal, Total and VAT... finn osCommerce 2.2 Installation Help 4 09-12-2005 11:20 PM
Low Order Fee as a percentage of the subtotal. Anonymous osCMax v1.7 General Mods Discussion 0 07-08-2004 01:06 PM


All times are GMT -8. The time now is 03:39 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax