Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Daily special pricing?


r2013

Recommended Posts

Hi, just wondering is there a daily special feature that auto changes price according to the day? Like product A would have 10% discount on Monday, product B would have 10% discount on Tuesday?

Pretty new to this, any suggestion would help, thanks.

Link to comment
Share on other sites

Easiest is to add them into the specials, but make them status = off

If they are numbers 1 - 7 (sID), which would be easiest, have a little script in application_top that grabs the day, and turns the special on (or off).

 

tep_db_query("update " . TABLE_SPECIALS . " set status = 0 where specials_id <= 7");
tep_set_specials_status(date('N'), 1);

 

Far from perfect, but very simple to set up and maintain. 1 = monday, 7 = sunday.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...