Results 1 to 9 of 9
  1. #1
    Join Date
    May 2006
    Location
    Connecticut
    Posts
    118
    Plugin Contributions
    0

    Default Specials - frust


    I am trying to deactivate a large number of specials.
    I have gone into the "Specials" table of the DB and put in an "Expires" date that is in the past. How do I trigger Zencart to see this date and take the product off special ?

    Thanks

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

    Default Re: Specials - frust

    The start/expiration for Specials runs 1 time (once) per session from the Catalog ...

    From the Admin it is checked with each change ...

    So if you are looking at the Catalog ... and change the special it will not change in the Catalog for you during that session ...

    But if you go to the Admin ... it will change for you right away ...

    Had it been your first hit for the session in the Catalog ... then it would of changed for you ...
    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 2006
    Location
    Connecticut
    Posts
    118
    Plugin Contributions
    0

    Default Re: Specials - frust

    Ajeh -

    I can't really say that I fully understand your post.
    However, logging out and back into Admin did trigger the update of the "status" field in the Specials table - setting it to "0" for those products that I had set expiration dates on.

    Thank you very much

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

    Default Re: Specials - frust

    Just moving in the Admin would trigger it ...

    The Admin constantly updates the site where the customer updates many things 1 time per session to save time ...
    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
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Specials - setting available/expiry date

    Just want to confirm functionality...
    if i set a start and end date for a special, I have to be logged in to admin at midnight and actively clicking around for the special to be activated/deactivated?

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

    Default Re: Specials - frust

    No ... fortunately not ...

    The time is midnight ... the trigger is who touches the site first from midnight ...

    Customer comes in at 12:01am ... bingo! Specials are enabled/disabled before they see the first display of the page ...
    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!

  7. #7
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Specials - frust

    Thanks for the quick reply, Ajeh...I should have just read your first post more carefully!

    This does not seem to working on my site...i'm using v1.3.5 and have force cookie use to True (not sure if that affects it). I had a special set for a certain date and it did not update until I logged into my admin page. There were many people viewing the site, waiting before midnight for the new special. But I wouldn't think that not one new session viewed the catalog after 12:01. In fact, when I first viewed the catalog at around 7am, the old special was still there and only when I logged into admin, did the specials change.

    I have made a lot of mods to my site...is there any specific code where this update happens, that I should look at to make sure I didn't screw anything up?

    I know you guys are busy, no rush..I can manually do the specials for now.

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

    Default Re: Specials - frust

    The current method is first person to touch the site at midnight will trigger the event ...

    But if they are already on the site the site does not re-update with each click ...

    What you may be looking for is a method to know Joe hits the site at 11:59pm ...

    This hit runs the update on specials ...

    Joe continues to shop for 30 minutes ... the update is not run again it was ran by Joe at 11:59pm once per session ...

    However, Harry hits the site at 12:01am ...

    This hit runs the update on specials ...

    Now both Joe and Harry see the new Specials ...

    If you need a secondary timer where if the session already exists and switches across midnight ... this could be customized so Joe does not see "yesterday" prices until Harry comes in ...
    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!

  9. #9
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: Specials - frust

    Hi again,

    thanks for the help so far. I've been testing the functionality over the past few days...I would open a new browser and hit my site just after midnight (would this should create a new session?) but still no update on the specials. If i hit my admin page, then the specials update and all is good.

    can you point me in the direction of the code that performs this update on the catalog side? If i were to update it so that all hits, even with existing sessions, would update the specials...would that negatively affect the performance of my site?

    Thanks

 

 

Similar Threads

  1. v139h Catalog / Specials Page, How to change the number of specials displayed
    By lynbor in forum Customization from the Admin
    Replies: 2
    Last Post: 12 Jun 2015, 07:19 PM
  2. Replies: 1
    Last Post: 23 Jun 2013, 01:59 AM
  3. specials page is not displaying items that were set to be specials
    By mayleine in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Dec 2010, 12:49 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