osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Discount Coupon Email Problem

This is a discussion on Discount Coupon Email Problem within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; I have a fresh install of OscMax. I have loaded 2 sample discount coupons. The form will not save the ...

      
  1. #1
    New Member
    Join Date
    Jun 2010
    Posts
    5
    Rep Power
    0


    Default Discount Coupon Email Problem

    I have a fresh install of OscMax.

    I have loaded 2 sample discount coupons.

    The form will not save the new start and end date of the coupons.

    AND - if I attempt to email the coupon from the email button in coupon admin - No message box appears or Send email button to dispatch the email.

    Suggestions???

    Thanks!!!

  2. #2
    New Member
    Join Date
    Jun 2010
    Posts
    5
    Rep Power
    0


    Default Re: Discount Coupon Email Problem

    New interesting development . . .

    Without changing anything I was able to get the end date to change. However, everytime I go back in to edit the coupon, the end date decreases by 1 year without changing or touching anything within the edit.

    Nothing has changed in reference to the ability to email the coupon. When I click the email button, the screen displays the following - with no box to enter a message and no button to send email:


    Coupon Name 1 Download

    Customer:

    From:

    Subject:

    Message:

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    9
    Rep Power
    0


    Smile Re: Discount Coupon Email Problem

    I have similar situation with the dates although I find it does save the correct dates, every time you go back into "Edit" it will decrease the year.

    With the email issue it appears to be calling the fckeditor which I don't think is used anymore. Either Disable CUSTOMER EMAILS use WYSIWYG HTMLAREA under WYSIWYG Editor under Configuration or you can try these code changes which appear to work for me (not thoroughly tested)

    in admin/coupon_admin.php add the following to the <head> section:


    <!-- CKeditor -->
    <script type="text/javascript" src="<?php echo DIR_WS_INCLUDES . 'javascript/ckeditor/ckeditor.js'?>"></script>
    <!-- CKeditor End -->

    Same file replace:

    echo tep_draw_fckeditor('message', HTML_AREA_WYSIWYG_EDITOR_WIDTH, HTML_AREA_WYSIWYG_EDITOR_HEIGHT, ' ') .'</td>';

    with:

    echo (tep_draw_textarea_field('message', 'soft', '70', '15', '' ,'class="ckeditor"')) . '</td>';

    Someone who actually knows what they are doing might want to comment on these changes!

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Red face Re: Discount Coupon Email Problem

    Sorry Guys,

    I have fixed this in the v2.1 release but not backported it to v2.0.x ...

    If you would like to see my fix then click here - but it is essentially exactly the same as the code BlueBunyip posted.

    I also noticed the dates being set to 01/01/1970 and other issues - it is on my list of things to look at when I get a minute ...

    Regards,
    pgmarshall
    _______________________________

  5. #5
    Member
    Join Date
    Apr 2010
    Posts
    69
    Rep Power
    3


    Default Re: Discount Coupon Email Problem

    Quote Originally Posted by pgmarshall View Post
    Sorry Guys,

    I have fixed this in the v2.1 release but not backported it to v2.0.x ...

    If you would like to see my fix then click here - but it is essentially exactly the same as the code BlueBunyip posted.

    Regards,
    Hi,

    I tried this and it did not fix my problem. I have oscmax v2.0.25 and have replaced my file with what you have and the problem is still there. The dates revert back when saved.

    Thanks

  6. #6
    Active Member
    Join Date
    Aug 2008
    Posts
    133
    Rep Power
    4


    Default Re: Discount Coupon Email Problem

    Quote Originally Posted by bluezdaze View Post
    Hi,

    I tried this and it did not fix my problem. I have oscmax v2.0.25 and have replaced my file with what you have and the problem is still there. The dates revert back when saved.

    Thanks
    has this been figured out yet?
    having the same issue with the date switching back a year when editing.

  7. #7
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Discount Coupon Email Problem

    Please post a bugtracker report.

    Thanks,
    pgmarshall
    _______________________________

  8. #8
    Active Member
    Join Date
    Aug 2008
    Posts
    133
    Rep Power
    4


    Default Re: Discount Coupon Email Problem

    Quote Originally Posted by pgmarshall View Post
    Please post a bugtracker report.

    Thanks,
    if i knew how i would.

  9. #9
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Discount Coupon Email Problem

    pgmarshall
    _______________________________

  10. #10
    Active Member
    Join Date
    Aug 2008
    Posts
    133
    Rep Power
    4


    Default Re: Discount Coupon Email Problem

    it wants me to sign in but wont accept my pass / user

    do i need another account to log - in?

Page 1 of 2 12 LastLast

Similar Threads

  1. Discount Coupon Codes
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-11-2009, 10:00 AM
  2. problem with discount coupon in oscmax v2.0
    By chuan in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-07-2006, 06:37 PM
  3. Discount Coupon and Authorize.net - NOT PULLING DISCOUNT...
    By irwin04 in forum osCMax v1.7 General Mods Discussion
    Replies: 5
    Last Post: 03-07-2005, 05:59 PM
  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. request: change Welcome Discount Coupon Code -> Coupon ID
    By kodersoftware in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 11-13-2004, 12:34 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
  •