Forums / Customization from the Admin / Displaying Category Images instead of product images

Displaying Category Images instead of product images

Locked

Started by jongle on 15 Jul 2008, 2:40 PM · Views: 1,965

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 Jul 2008, 2:40 PM
#1
jongle avatar

jongle

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Displaying Category Images instead of product images

I don't intend to have any individual product images. Instead i want the product image to be replaced by the subcategory image.

Is this possible?

15 Jul 2008, 2:59 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Displaying Category Images instead of product images

When you set up the product in Admin, and you get to the image part, just enter the subcat image. Zencart won't care if they're all the same.

If you have products that are in more than one category, that would be a problem.

15 Jul 2008, 3:02 PM
#3
jongle avatar

jongle

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: Displaying Category Images instead of product images

Thanks for the speedy response. This would be one sollution, but I was hoping there would be a way for me to just set the category image and after that all the products would just inherit the same image. Im almost sure i read how to do it before but just cant remember where. Maybe I was dreaming!

16 Jul 2008, 1:52 PM
#4
jongle avatar

jongle

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: Displaying Category Images instead of product images

I think what i need to do is:
Find whatever PHP file declares the product image and replace the line of code with a call for the category image.
Unfortunatelay i have no knowledge of PHP. Anybody have any suggestions?

26 Aug 2008, 8:09 PM
#5
zafer avatar

zafer

New Zenner

Join Date:
Jan 2008
Posts:
50
Plugin Contributions:
0

Re: Displaying Category Images instead of product images

stevesh:

When you set up the product in Admin, and you get to the image part, just enter the subcat image. Zencart won't care if they're all the same.

If you have products that are in more than one category, that would be a problem.

How do you enter a category image from Admin
Please advise

thank you

26 Aug 2008, 8:10 PM
#6
zafer avatar

zafer

New Zenner

Join Date:
Jan 2008
Posts:
50
Plugin Contributions:
0

Re: Displaying Category Images instead of product images

How do you enter a category image from Admin
Please advise

thank you

27 Aug 2008, 11:19 AM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Displaying Category Images instead of product images

Admin - Catalog - Categories/Products - New Category

at the bottom, where it says 'category image' - click Browse to find the image on your computer.