If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Customising Additional Images per Row for Different Product Types

Customising Additional Images per Row for Different Product Types

Locked

Started by atomicworkshop on 7 Jul 2008, 7:24 AM · Views: 1,090

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
7 Jul 2008, 7:24 AM
#1
atomicworkshop avatar

atomicworkshop

New Zenner

Join Date:
Jan 2007
Posts:
22
Plugin Contributions:
0

Customising Additional Images per Row for Different Product Types

My Zen Cart site currently has two different page layouts for the two different product types:- Product - General (saleable products) and Document - General (technical articles).

I now want to have different numbers of additional images per row for the two product types (1 additional image per row for Product - General and 2 aditional images per row for Document - General).

I realise that I'm going to have to hard code something somewhere and that the admin setting 'Configuration|Images|Product Info - Number of Additional Images per Row' will only apply to the non-hardcoded one. But I'm not too sure where this is set in the code - I would have thought it was just a matter of duplicating a number of files, renaming and editing the file which calls them and hardcoding a variable???

Any help much appreciated!

Jonathan