Forums / Setting Up Specials and SaleMaker / Include specials end date to under specials price?

Include specials end date to under specials price?

Locked

Views: 4,770

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
14 May 2007, 2:15 PM
#1
this_side_up avatar

this_side_up

New Zenner

Join Date:
Nov 2006
Posts:
57
Plugin Contributions:
0

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

24 May 2007, 6:16 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!

24 May 2007, 7:36 AM
#3
this_side_up avatar

this_side_up

New Zenner

Join Date:
Nov 2006
Posts:
57
Plugin Contributions:
0

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

26 May 2007, 6:48 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Include specials end date to under specials price?

This function controls the display price:

  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!]
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!

12 Jun 2007, 5:35 AM
#5
relecule avatar

relecule

New Zenner

Join Date:
Jun 2007
Posts:
2
Plugin Contributions:
0

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.

12 Jun 2007, 5:41 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!

13 Jun 2007, 7:50 AM
#7
relecule avatar

relecule

New Zenner

Join Date:
Jun 2007
Posts:
2
Plugin Contributions:
0

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

13 Jun 2007, 3:47 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!