Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2006
    Posts
    48
    Plugin Contributions
    0

    Default Include specials end date to under specials price?

    Hello All

    Can someone please tell me how i can include the special products end date to be disaplyed under the specials price? On all instances where the special is displayed.

    My php skills are very limited and i sure whould appreciate any help i can get.

    The reason i want to do this is : Some clients presume that a special will last for the whole month, the month the special is in, but this is incorrect and i just want to be able to communicate better by making the specials end date clear.

    Thank you

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Include specials end date to under specials price?

    All of the display prices use a function ...

    You could customize it if you want it to show everywhere ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Nov 2006
    Posts
    48
    Plugin Contributions
    0

    Default Re: Include specials end date to under specials price?

    Thanks for the reply Linda

    Functions...yes...mmmm....

    admin/includes/functions/functions_prices.php.

    End date variable is defined as ?

    Had a look.

    Sorry way more code (or is it Greek) than what i'm used to looking at...
    I sense a crash coarse in php

    Need another nudge please..

    Thanks again

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Include specials end date to under specials price?

    This function controls the display price:
    PHP Code:
      function zen_get_products_display_price($products_id) { 
    The bottom line is what is returned ...

    If you want to add a specials end date, you will want to add a look up for that date IF there is a special ... if no special, don't waste the time on the look up ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Jun 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Include specials end date to under specials price?

    Hi
    I am new to Zen Cart and I want to do the same as this with listing product special expiry dates in the side blocks and on the specials module, but I cannot get it working. I get the expiry date to display but it displays as 0001-01-01. I got this variable from the admin specials section. I see that the specials displays from here but obviously a function is set somewhere which I cannot find. Can you please help with this or point in the right direction.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Include specials end date to under specials price?

    This date: 0001-01-01

    means there is no expiration date set ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  7. #7
    Join Date
    Jun 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Include specials end date to under specials price?

    Nope, I dont think it is that. I checked on all the products that has the special expiry date and it still showed the 0001-01-01

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Include specials end date to under specials price?

    If there isn't an expiration date you will see the:
    0001-01-01

    If there is an expiration date such as February 21, 2007 then you will see:
    2007-02-21
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

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
  •