One of my clients wanted to show banners on his OsCommerce website home page. He said that he wanted to display the hot selling products on his home page so that customers can go and buy them in the shortest time possible. Not only that he also wanted the facility to upload and change images as quickly as possible.
So I got down to implementing it on the website. Now, unlike Zencart, OsCommerce does not have default banner code on the home page due to which I had to dig a bit deeper. Finally I found the function which displays the banner and that is
<?php echo tep_display_banner('dynamic','BannerGroup'); ?>
where you can add the group name for your banner(s) in place of BannerGroup. dynamic tells the system to randomly select a banner from the BannerGroup and display it. This will help the client to create more than one banner in the same BannerGroup and the system will take care of the rest.
Hope the above helped