Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Additional Images on Product Listing Page

Additional Images on Product Listing Page

Views: 1,853

Results 21 to 22 of 22
11 Dec 2012, 1:30 PM
#21
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,781
Plugin Contributions:
21

Additional Images on Product Listing Page

rbarbour:

adding a field on the admin product info page to upload a second image to the database and using css to change image onhover is actually the way to go and very easy to accomplish.

Wanna bet? I thought the same, until I actually started doing it... There are quite a few differences in adding the additional image and adding a simple additional field. Try it, you'll see.

P.S. It's actually a jQuery rollover, but the effect is disabled per request. It was originally built to fade in or slide in... :wink2:

11 Dec 2012, 10:41 PM
#22
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Additional Images on Product Listing Page

balihr:

Wanna bet? I thought the same, until I actually started doing it... There are quite a few differences in adding the additional image and adding a simple additional field. Try it, you'll see.

I have done it - link to thread

except I added 9 additional image fields to the admin product info page - returned all 9 images on the admin product update page and had all 9 images return on product listing page (per client request).

As I learned zen I found that method mute, to many database calls. Now I use the stock image name and matching file names structure like I show in the examples of the link provided earlier.