Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Salemaker wont set to on

    Using ZC 1.5.4. I cannot turn on the salemaker if I enter a date in the end date box. When I click update it changes the date to 1/01/2036 and the sale is set to off. I have tried to set date for both the american format and the UK format and so have chosen dates that would work in bot formats but the same issue still occurs.

    I have got the tableau template and FEC installed as well but cannot see that these are having and impact. Has anyone else had issue like this before?

    Regards

    MG

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Salemaker wont set to on

    I cannot repeat this issue in Zen Cart v1.5.4 ...

    Have you changed anything about the date in the:
    /your_secret_admin/includes/languages/english.php

    regarding the date?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Re: Salemaker wont set to on

    Ajeh,

    I don't remember making any changes but this is what the file has:

    Code:
    $locales = array('en_UK', 'en_UK.utf8', 'en', 'English_United Kingdom.1252');
    @setlocale(LC_TIME, $locales);
    define('DATE_FORMAT_SHORT', '%d/%m/%Y');  // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'd/m/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'd/m/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'dd/MM/yyyy');  //Use only 'dd', 'MM' and 'yyyy' here in any order
    define('ADMIN_NAV_DATE_TIME_FORMAT', '%A %d %b %Y %X'); // this is used for strftime()
    
    ////
    // Return date in raw format
    // $date should be in format mm/dd/yyyy
    // raw date is in format YYYYMMDD, or DDMMYYYY
    
    function zen_date_raw($date, $reverse = false) {
    
      if ($reverse) {
        return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
      } else {
        return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
      }
    }

 

 

Similar Threads

  1. Atributes wont set...
    By rainbow_pixie_star in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 7 Mar 2012, 02:53 PM
  2. EZ Pages wont go away even though set to 0
    By MYYZTIK in forum Basic Configuration
    Replies: 4
    Last Post: 11 Oct 2011, 10:05 PM
  3. who can help me set up SaleMaker?
    By luqigaoyan in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 6 Oct 2010, 11:08 AM
  4. How to set option value with a set image as default of an attribute?
    By PaulRiedel in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Aug 2007, 04:21 AM
  5. Page Wont Load -- Easy Populate Wont Complete
    By apinkpony11 in forum General Questions
    Replies: 5
    Last Post: 6 Mar 2007, 06:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg