Forums / Templates, Stylesheets, Page Layout / How to change product display view?

How to change product display view?

Locked

Views: 694

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
4 Mar 2009, 9:51 AM
#1
shahzaman avatar

shahzaman

New Zenner

Join Date:
Feb 2009
Posts:
6
Plugin Contributions:
0

How to change product display view?

Hi,

Normally, When we add a product with image and a variation or attribute , what zen cart does is that, in product display template it shows product image in upper and with all the variations bellow with image, what i want is that, the product image should also be treated as one of the variation, which a user can select or deselect.

Best Regards,

Shah Zaman

4 Mar 2009, 3:44 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: How to change product display view?

Edit an override copy of includes/modules/additional_images.php and immediately after this line of code

if ($products_image != '') {

add this line

 $images_array[0] = $products_image;

Neville
An assumption is what you arrive at when you get tired of thinking...