osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Voucher & Coupon Tax Problem

This is a discussion on Voucher & Coupon Tax Problem within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Ive edited the credit class for coupons and vouchers to have the option to discount individual products. Instead of just ...


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

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-04-2005, 02:34 AM
Member
 
Join Date: Jan 2004
Location: edmonton, Alberta, Canada
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
peteyg
Default Voucher & Coupon Tax Problem

Ive edited the credit class for coupons and vouchers to have the option to discount individual products. Instead of just taking off the total a single discount. examble a 10$ coupon could be good for 3 products so really the discount ends up being 30$ etc. So My code works great; the problem is restriction. When i goto restrict the coupon to only work for a certain categories or products the discount is still taken off, but tax is calculated with the orignal subtotal and not being recalculated like it is when theres no restriction. So I though it was me, so i uploaded my back up copy of the orginal file for the coupon and vouchers code. I set up another test coup[on with restriction to one categorie witha discount of 10$. I went and picked a product, no go. 10$ discount tax not recalculated. So I took the restriction off. BOOM! 10$ discount and tax was recalculated. So I've been looking at the code now for a day and im stumped. Ive been changing things moving things around, adding new code. No luck, Can anyone help?? Or has anyone not noticed this itsy bitsy problem yet?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-04-2005, 08:50 AM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default RE: Voucher & Coupon Tax Problem

have you checked the sort order in admin > modules > order total and made sure tax and gift vouchers are in the correct order?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-04-2005, 08:57 AM
Member
 
Join Date: Jan 2004
Location: edmonton, Alberta, Canada
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
peteyg
Default

never touched them. Everything is default. THe only things i change is the admin options for the vouchers themselfs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-04-2005, 12:40 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

change the sort order of "tax" to be higher than that of both vouchers and coupons in admin. realistically it should be the second to last line item with shipping and total the only two things which come with a hgiher sort order.
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-05-2005, 01:57 PM
Member
 
Join Date: Jan 2004
Location: edmonton, Alberta, Canada
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
peteyg
Default

Quote:
Originally Posted by red_fraggle
change the sort order of "tax" to be higher than that of both vouchers and coupons in admin. realistically it should be the second to last line item with shipping and total the only two things which come with a hgiher sort order.
It's already up like that except the shipping. I just confirmed that.

--- UPdate
OK now I checked and I do believe it is working. Ill let you know.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
voucher/coupon question joanstead osCMax v2 Features Discussion 1 12-07-2006 07:37 AM
Gift Voucher & Coupon auntie22 osCMax v1.7 Discussion 0 03-12-2006 06:55 PM
Checkout Problem - Gift Voucher Coupon Zero 0 no balance kenlyle osCMax v1.7 Discussion 0 11-07-2005 08:53 AM
Problem with Gift Voucher/Coupon Email Sent to Customer stewj1 osCMax v1.7 General Mods Discussion 28 12-28-2004 04:41 AM
coupon voucher installation ibgumbie osCommerce 2.2 Modification Help 1 12-17-2004 03:39 PM


All times are GMT -8. The time now is 03:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax