Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Display specials link in header only when one or more specials exist


Recommended Posts

As the title suggests I would like to add a specials link in the header however it must only display when one or more special offers exist.


Basically the code below when placed in the header will display a link to the specials page, but can someone help with the if statement that is required to only display the link when one or more specials exist?



echo '<a href="' . tep_href_link(FILENAME_SPECIALS) . '">' . MODULE_BOXES_SPECIALS_BOX_TITLE . '</a>';


Link to comment
Share on other sites


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

  • Create New...