Results 1 to 6 of 6

Coupon Problems

This is a discussion on Coupon Problems within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; This is an urgent issue that must be fixed tonight. In the adminsitration interface of our OSCMax installation, when we ...

      
  1. #1
    New Member
    Join Date
    Jan 2006
    Posts
    5
    Rep Power
    0


    Default Coupon Problems

    This is an urgent issue that must be fixed tonight. In the adminsitration interface of our OSCMax installation, when we go to edit coupons in IE, we get a javascript error. It basically says that 'Init is not defined'.

    The offending code is here:
    Code:
    <body OnLoad="init()" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    I was going to just remove the code from the templates, but can't figure out where it's stored (and don't know what it does).

    Our second issue is that coupons are not working at all. After creating our new coupon, if a user enters it at checkout, no discount is given at all (and the coupon does have the correct values to give a discount. I've already checked). If we enter an invalid coupon code, we get an error, but if we enter a real coupon code, we are directed to the next step of checkout. This is a major problem.

    I am a developer, and this is my client's website. He is going to a trade show tomorrow and wants to give a discount to the attendees there, so we need to get these errors fixed.

    Thanks,
    kevin

  2. #2
    osCMax Developer

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


    Default RE: Coupon Problems

    1. Just remove the OnLoad-"init()" from the body tag in /admin/coupon_admin.php - line 180

    2. This behavior is not present in a default install of osCMax when coupons are properly set up. You most likely have misconfigured the coupon somehow or you have changed the order total modules sort order... You really need to be more specific as to what your coupon settings are and what specifically is the problem.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  3. #3
    New Member
    Join Date
    Jan 2006
    Posts
    5
    Rep Power
    0


    Default RE: Coupon Problems

    Thank you for getting back to me. I was brought in on this project tonight in an emergency type situation. Someone else has been configuring (and messing up) this shop before. I have edited to remove the JS error (what is that code for, out of curiosity?) Here is how the Order Total module is set up.

    1. Sub-Total
    2. Shipping
    3. Tax
    4. Customer Loyalty Discount
    5. Low Order Fee
    97. Discount Coupons
    740. Gift Vouchers
    800. Total

    I have no idea why they've skipped from 5 to 97. Could this be causing the problem? Here is how the coupon is set up:

    Coupon Name :: CES Show Discount
    Coupon Amount :: $15.00
    Start Date :: 01/01/2006
    End Date :: 01/02/2007
    Uses per Coupon :: 0
    Uses per Customer :: 2
    Valid Product List :: NONE
    Valid Categories List :: NONE
    Date Created :: 01/02/2006
    Date Modified :: 01/02/2006

    Can you gather anything from this? Please let me know if you need any more information.
    Kevin

  4. #4
    osCMax Developer

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


    Default RE: Coupon Problems

    The OT modules order is fine. No problems there.

    It looks like your coupon setup. Make sure that Coupon Minimum order is not set. Make sure Free Shipping is NOT checked. For testing, change uses per customer to 0.

    Leave valid product list and categories list blank. It should not be set to NONE, but should be blank.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  5. #5
    osCMax Developer

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


    Default RE: Coupon Problems

    Oh, what payment module are you using? If you are using paypal, it must be set to aggregate mode, not per item mode.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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

  6. #6
    New Member
    Join Date
    Jan 2006
    Posts
    5
    Rep Power
    0


    Default RE: Coupon Problems

    Sure enough, the client had ticked the box for free shipping (even though it plainly states that checking the box will override). All is good now.
    Thanks for your help.
    Kevin

Similar Threads

  1. voucher/coupon question
    By joanstead in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 12-07-2006, 07:37 AM
  2. creating Coupon
    By jschafer52 in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 11-04-2006, 08:23 PM
  3. Coupon Issues & More
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 10-02-2005, 04:30 PM
  4. request: change Welcome Discount Coupon Code -> Coupon ID
    By kodersoftware in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-13-2004, 01:34 PM
  5. Coupon Percent Problem
    By datacreek in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-16-2003, 09:21 AM

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
  •