Zen Cart Logo
Forums / Basic Configuration / Relate product to Specific Banner

Relate product to Specific Banner

Locked

Views: 1,306

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Apr 2008, 6:17 AM
#1
phpdev2008 avatar

phpdev2008

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Relate product to Specific Banner

Hi,

I created a Banner Group to display banners inside the products display pages (All Products, New Products and Category based Products). And now it is working fine.

But I wsih to directly relate these banners to each product. Means when a user uploads a product, he can choose a banner which appears near to that product.

How can I do this?

Is there any Modules for this ?

Any ideas would be great!

Thanking You Friends.

Regards,
PHP Developer,
India.

23 Apr 2008, 2:55 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Relate product to Specific Banner

I recently worked on a site that has specific banner for specific page. What I did was: I get the current page from $_GET['main_page'], then I get all the images in my banners folder that match the current page (i.e, the page is contact_us, then I will get all images start with contact_us)

I think the same thing can be applied in your case.

20 Jul 2008, 1:18 PM
#3
geronimo avatar

geronimo

New Zenner

Join Date:
Sep 2007
Location:
Tasmania
Posts:
46
Plugin Contributions:
0

Re: Relate product to Specific Banner

Hi yellow.

I've found your post after searching for "product specific banners". I'd like to have banners appear in a sidebox that are directly related to the product showing on the page, or the subcategory selected. I think this is what you've briefly explained above. However, I don't understand quite what to do. Would you mind posting in a little more detail for me, please?

Regards

Philip