Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2012
    Location
    Iver, Bucks, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: Salemaker Dates Issue

    We are having huge problems with dates...if I might take a moment to explain...

    Car parts are suitable to cars made between certain dates, eg an Oil Filter for a Peugeot 206 from 1997 to 2007. The way we are set up we can ONLY enter the first date ie the date of manufacture and not the end date. This means that we have to enter the part for every year ei once for 1997, once for 1998, once for 1999 etc...it also means that because the same part might be suitable for multiple vehicles (very common) we have to then enter the same part for EACH vehicle, and then EACH fuel type or BODY type. Currently it means that one single oil filter might need to be entered 120 times! There MUST be a better way and if you know of one I would be eternally grateful! Date formats other than that seem to be fine, they only go wrong in Salemaker.

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

    Default Re: Salemaker Dates Issue

    My question is regarding the built in dates to Zen Cart, such as when you Add/Edit a Product ...
    Date Available:
    (YYYY-MM-DD)
    Or Add/Edit a Featured Product ...
    Available Date:
    Expiry Date:
    Do those dates work?
    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
    Apr 2012
    Location
    Iver, Bucks, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: Salemaker Dates Issue

    Hi, yes those dates work fine. The Date available defaults to today's date if it's a brand new product being added, if it's a 'copied' product then the default date is year 2000 for some reason...that's not the end of the world obviously just a small annoyance.Click image for larger version. 

Name:	date available.jpg 
Views:	49 
Size:	38.2 KB 
ID:	10723

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

    Default Re: Salemaker Dates Issue

    Since you are not sure of the origins of this site ...

    I would use something like Beyond Compare from scootersoftware.com and check your server files in your /your_secret_admin to a clean copy of Zen Cart v1.3.9h /admin and make sure that there are no files that are out of date ...

    Also, in your file:
    /your_secret_admin/includes/languages/english.php

    does this section of defines match:
    Code:
    // look in your $PATH_LOCALE/locale directory for available locales..
    // on RedHat6.0 I used 'en_US'
    // on FreeBSD 4.0 I use 'en_US.ISO_8859-1'
    // this may not work under win32 environments..
    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
    define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
    define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
    define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()
    define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');
    define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy');  //Use only 'dd', 'MM' and 'yyyy' here in any order
    
    ////
    // 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);
      }
    }
    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!

  5. #5
    Join Date
    Feb 2012
    Posts
    19
    Plugin Contributions
    0

    Default Re: Salemaker Dates Issue

    Abit late, but in case it helps anyone else - I was having the same problem and have figured it out. Using the pop-up date picker you choose your start date, then when you pick the finish date, if you're like me you assume Zencart has kept the year but it hasn't, it defaults to the start of it's list: 2002, so when you pick the rest of your date you're picking a finish date in the past, Zencart won't allow this so defaults to 2036 instead. Just remember to set the year for the finish date and it works.

  6. #6
    Join Date
    Feb 2012
    Posts
    19
    Plugin Contributions
    0

    Default Re: Salemaker Dates Issue

    cancel that, thought it had sorted it but not - found the answer elsewhere - UK date format set throughout the site, but Salemaker seems to ignore that, if you manually type the date in US order MM/DD/YYYY and update it works (and afterwards shows the new date in UK order!)

 

 

Similar Threads

  1. v139h Salemaker and Specials Dates not working
    By My_Red_Zebra in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 14 Oct 2013, 02:11 AM
  2. Salemaker won't assign start, end dates
    By Saintsteven in forum Setting Up Specials and SaleMaker
    Replies: 37
    Last Post: 31 Dec 2012, 11:48 PM
  3. Salemaker not showing Start/End dates
    By jordymacsmom in forum Setting Up Specials and SaleMaker
    Replies: 6
    Last Post: 16 Aug 2008, 06:29 AM
  4. SaleMaker and UK-style dates
    By wolfieb in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 27 Jan 2008, 04:29 PM
  5. Payflow pro Module- Uk Debit Card issue with issue dates
    By Calljj in forum Addon Payment Modules
    Replies: 27
    Last Post: 1 Oct 2007, 08:59 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