If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Need bannerbox_all only on Product Info Page

Need bannerbox_all only on Product Info Page

Started by noodles on 21 Jan 2011, 9:42 PM · Views: 683

Results 1 to 2 of 2
21 Jan 2011, 9:42 PM
#1
noodles avatar

noodles

New Zenner

Join Date:
Oct 2010
Posts:
23
Plugin Contributions:
0

Post #1 by noodles

Hi,

Can anyone tell me how to have my bannerbox_all sidebox display only on the Product Info pages of my shop?

Thanking you sooooooo much in advance. This forum is a real lifesaver.

v1.3.9f
freetemplate1 from zenflavor
shipping_rates_in_cart mod
Zen lightbox mod

http://s erved-al-dente.com/ourshop

21 Jan 2011, 11:14 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

Using your templates and overrides you should be able to add the code in red:

  if ((int)$_GET['products_id'] < 1) {
    $show_banner_box_all = false;
  }

  if ($show_banner_box_all == true) {

above the code in blank ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!