Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25
  1. #11
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Sale Ending/Special Ending Support thread

    Version 1.1 of Sale Ending/Special ending has just been posted with instructions on how to make the sale ending date the actual date which is displayed (instead of 1 day earlier).
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #12
    Join Date
    Jan 2011
    Posts
    70
    Plugin Contributions
    0

    Default Re: Sale Ending/Special Ending Support thread

    Works great, thank you for the update!

  3. #13
    Join Date
    Apr 2011
    Posts
    15
    Plugin Contributions
    0

    Default Re: Sale Ending/Special Ending Support thread

    How can I change the date displayed format 21 April, 2011, to April 21, 2011 or 4/21/11?

  4. #14
    Join Date
    Apr 2011
    Posts
    15
    Plugin Contributions
    0

    Default Re: Sale Ending/Special Ending Support thread

    Never mind. Of course I figured it out right after I posted the question. Here's how I changed it:

    I modified \includes\functions\extra_functions\sale_special_ending.php

    and changed the two instances of


    if ($longdate) {
    $date_str = zen_date_long($enddate);
    } else {
    $date_str = zen_date_short($enddate);

    to


    if ($shortdate) {
    $date_str = zen_date_long($enddate);
    } else {
    $date_str = zen_date_short($enddate);

    I just changed the word longdate to shortdate.

    Amber

  5. #15
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Sale Ending/Special Ending Support thread

    A better fix would be to modify the default value of the formal parameter $longdate in sale_special_ending() to false.

    function sale_special_ending($id, $longdate = false, $one_day_back = false)

    includes/functions/extra_functions/sale_special_ending.php.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #16
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Sale Ending/Special Ending Support thread

    Sale Ending/Special Ending is now Zen Cart 1.5.0 compatible. No other functional changes were made in version 1.2.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #17
    Join Date
    Jun 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Sale Ending/Special Ending Support thread

    Hi swguy, I installed the mode and my specials expiration date is 11/01/12 so that the sale goes until 10/31 at midnight. If I leave $one_day_back = false) the date in the products description is 11/1. If I hange it to true, then the date in the product description is 10/30. Also, the date shows for example: Thursday 01 November, 2012. Is there a way to change the format so that it is Thursday, November 01, 2012?
    Kevin Rosenzweig http://FluffyRump.com
    <a href="http://fluffyrump.com">FluffyRump.com: Cloth diapers and green accessories for the family</a>

  8. #18
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Sale Ending/Special Ending Support thread

    The longdate within this plugin uses the settings for zen_date_long, which is set in includes/languages/english.php. Override this by copying it to includes/languages/YOUR_TEMPLATE/english.php, and change

    define('DATE_FORMAT_LONG', '%A %d %B, %Y');

    to

    define('DATE_FORMAT_LONG', '%A %B %d, %Y');
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #19
    Join Date
    May 2007
    Posts
    124
    Plugin Contributions
    0

    Default Re: Sale Ending/Special Ending Support thread

    Quote Originally Posted by Ajeh View Post
    June 20th starts at Midnight June 20th which is 1 minute after June 19th 11:59pm ...

    Did you want the special to end June 20th at midnight or really June 21st at Midnight which is 1 minute after June 20th 11:59pm?
    12:00 Midnight is the customer's Time or the Server's Time?

  10. #20
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Sale Ending/Special Ending Support thread

    Server's time.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v151 Customer sessions not ending
    By jeking in forum General Questions
    Replies: 2
    Last Post: 3 Nov 2015, 02:08 AM
  2. Downloads ending early -- incomplete files received
    By michelleherron in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 16 Sep 2008, 03:39 PM
  3. Happy ending thanks to Bluehost.com
    By mamasylvia in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 17 Mar 2008, 08:27 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