Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Show one box or another


Guest

Recommended Posts

Hi,

 

Could someone give me a quick help with a bit of code. I'd like to have the specials box showing if there are some specials and if not the whats new box.

 

<?php if (specials == 0) {

include(DIR_WS_BOXES . 'whats_new.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}?>

 

I know there's a bit more to go in the if statement, I'd be extremely grateful if anyone can help with this.

 

Many thanks

Kate

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...