Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner Help


emailanj

Recommended Posts

Posted

Hi all,

 

I think I may have done something to the banner code when I first installed my shop to get rid of the oscommerce banner but I am not sure what I did and I have forgotten how to find it.( a total blond moment..GRR) I can't get banners to show up on my shop at all. I have tryied several but have had no luck. I did change the red to green active.

 

I was hopping someone could show me the correct code and were the banner is defined? I have serched and searched and have come up with nothing..

 

Thank you a hundred times over (in advance) for any and all help.

 

anj

Posted

Go and see this --> http://www.oscommerce.com/forums/index.php?sho...22entry322422

 

 

******** The code below should be place where you want your banner to appear ********

<?

if ($banner = tep_banner_exists('dynamic', '400x51', '0')){

echo tep_display_banner('static', $banner);

}

?>

 

*****************************************************************************

 

 

The size 400x51 must be equal to the banners group name (size) defined in the admin panel--> tools --> banner manager.

 

Put all the banners you want in the admin panel using the same group name field as defined in the code above and you're all set.

 

Greetings ;)

Posted

Thank you very much for your help..I have banners now ;-)

 

I found that all I needed to do is rename my banner group to (what I have) 468x60 (in the admin side of the store under tools / banner manager) instead of the cheesy name that I gave it.

I also made sure that under footer.php the 468 x 50 was changed to 468 x 60.

 

Hop this helps someone else in the future. Thanks again for your help

 

Anj

 

 

Go and see this --> http://www.oscommerce.com/forums/index.php?sho...22entry322422

******** The code below should be place where you want your banner to appear ********

<?

if ($banner = tep_banner_exists('dynamic', '400x51', '0')){

echo tep_display_banner('static', $banner);

}

?>

 

*****************************************************************************

The size 400x51 must be equal to the banners group name (size) defined in the admin panel--> tools --> banner manager.

 

Put all the banners you want in the admin panel using the same group name field as defined in the code above and you're all set.

 

Greetings ;)

:D :D

  • 2 weeks later...
Posted

This is great. I now have my banner physically appearing.

 

However, how do I now ensure that if I gave that link to someone and they put it on their website and a person clicked on the link and came to my site, how do I ensure that that person's purchase would be tracked and attributed to that referrer?

Archived

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

×
×
  • Create New...