Contributions

Features (Category Index)
Search: 

Specials valid from

With the current version of osCommerce you can specify when a special offer should expire but you can't specify when it should appear in the shop. With this contribution you can specify start and expiry date for every special.

Homepage: http://wiki.felix-schwarz.info/OsCommerce
Please check the page above for more recent versions than this one.

Expand All / Collapse All

Specials Valid From v1.0.4 23 Jul 2006

Updated to deal with two errors that were occuring:

#1 All new specials that were set with a valid from date in the future were starting with a status of '1', i.e. they started immediately, not when was specified, so have changed code to [hopefully] deal with that

#2 When a special was being modified, it's details weren't being saved.

I'm a novice at php, so if you find any errors/better ways to do this, please report in the forums (http://forums.oscommerce.com/index.php?showtopic=198179). All credit goes to the original author - I just tweaked to try and make it work :)

Specials valid from Felix Schwarz 14 Oct 2004

Note: Contributions are used at own risk.