Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Salemaker problems

    Yesterday I setup a sale in salemaker.
    I selected the start and end dates using spiffycalendar - date is shown in format dd/mm/Y. When I go to the summary screen the dates format has changed to mm/dd/Y and as a result the salemaker module considers the sale has finished ie instead of 1st Sept it translates as 9th January.

    Even when the sale has been marked as live there are problems in the shop. In some cases products show the discounted cost but the shopping cart only shows the full cost. In other products the shopping cart correctly shoes the discounted cost.

    I am using the current Zencart version 1.39h. What am I doing wrong please?

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

    Default Re: Salemaker problems

    SaleMaker is designed to be setup with dates as: mm/dd/Y
    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: v1.5.5]
    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 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Salemaker problems

    Thanks for your reply ajeh.
    I actually select the date from the popup calendar. It is then shown as 01/09/2011, for example. When I press the update button the date is shown as 09/01/2011 on the summary screen and the sale status is red [disabled].

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

    Default Re: Salemaker problems

    What setting do you have, on the server, in the file:
    /your_admin_dir/includes/languages/english.php

    Line #29 : define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order
    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: v1.5.5]
    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
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Salemaker problems

    Actually, if you could check all of these:
    /your_admin_dir/includes/languages/english.php

    Line #24 : define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()

    Line #25 : define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

    Line #26 : define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

    Line #28 : define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

    Line #29 : define('DATE_FORMAT_SPIFFYCAL', 'MM/dd/yyyy'); //Use only 'dd', 'MM' and 'yyyy' here in any order
    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: v1.5.5]
    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!

  6. #6
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Salemaker problems

    The english.php settings in admin are:

    setlocale(LC_TIME, 'en_US.ISO_8859-1');
    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

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

    Default Re: Salemaker problems

    Try resetting those to the defaults and use the m/d/Y format ...
    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: v1.5.5]
    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!

  8. #8
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Salemaker problems

    Thank you Ajeh.
    I have reset the date settings in english.php both in admin and the shop. I have also not used dates when setting up the sale so it is open-ended and the sale covers ALL products.
    All products show the discount in the shop.
    I still have the strange situation where some products pass the discounted cost to the shopping cart and others pass the full amount.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Salemaker problems

    Quote Originally Posted by cheddars View Post
    I still have the strange situation where some products pass the discounted cost to the shopping cart and others pass the full amount.
    Ajeh could clarify this better than I, but what's the master_categories_id on those products which do vs don't get the sale price applied properly?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Salemaker problems

    On checking it seems that all products that are linked apply the discount correctly in the shopping cart. Other products do not

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Date Problems in Salemaker and Specials
    By philip56 in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 4 Jan 2010, 08:51 PM
  2. Discount problems with priced by attributes in salemaker
    By RenStar in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 27 Nov 2009, 02:37 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR