X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Disable feature according to date? (https://forum.x-cart.com/showthread.php?t=33364)

hamid 08-20-2007 02:43 AM

Disable feature according to date?
 
I have a next day delivery option on my site, however I want to disable it on Friday and then have it come back automatically on Saturday.

Does anyone know if there is a way to get x-cart to check the date, and then if the date is less than the 24th August it doesnt show the next day delivery option, but if the date is greater than 25th to display the next day delivery option?

Or is there a better way of doing it?

Thanks in advance!

carpeperdiem 08-20-2007 04:52 AM

Re: Disable feature according to date?
 
Read THIS THREAD -- follow it to the end... Smarty will allow you to do this with one line of code! Read the Smarty docs for date_format

Hope this helps.

Jeremy

hamid 08-20-2007 05:01 AM

Re: Disable feature according to date?
 
thanks for your reply carpeperdiem.... that sounds great! I'll check it out later on tonight


All times are GMT -8. The time now is 04:36 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.