osCmax v2.5 User Manual
Results 1 to 5 of 5

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

      
  1. #1
    Member
    Join Date
    Jan 2004
    Location
    edmonton, Alberta, Canada
    Posts
    62
    Rep Power
    0


    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?

  2. #2
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    9


    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?

  3. #3
    Member
    Join Date
    Jan 2004
    Location
    edmonton, Alberta, Canada
    Posts
    62
    Rep Power
    0


    Default

    never touched them. Everything is default. THe only things i change is the admin options for the vouchers themselfs.

  4. #4
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    9


    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.

  5. #5
    Member
    Join Date
    Jan 2004
    Location
    edmonton, Alberta, Canada
    Posts
    62
    Rep Power
    0


    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.

Similar Threads

  1. voucher/coupon question
    By joanstead in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 12-07-2006, 06:37 AM
  2. Gift Voucher & Coupon
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 03-12-2006, 05:55 PM
  3. Checkout Problem - Gift Voucher Coupon Zero 0 no balance
    By kenlyle in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-07-2005, 07:53 AM
  4. Problem with Gift Voucher/Coupon Email Sent to Customer
    By stewj1 in forum osCMax v1.7 General Mods Discussion
    Replies: 28
    Last Post: 12-28-2004, 03:41 AM
  5. coupon voucher installation
    By ibgumbie in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-17-2004, 02:39 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
  •