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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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? |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| have you checked the sort order in admin > modules > order total and made sure tax and gift vouchers are in the correct order? |
|
#3
| |||
| |||
| never touched them. Everything is default. THe only things i change is the admin options for the vouchers themselfs. |
|
#4
| ||||
| ||||
| 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! |
|
#5
| |||
| |||
| Quote:
--- UPdate OK now I checked and I do believe it is working. Ill let you know. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |