Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / change additional images position

change additional images position

Locked

Views: 1,286

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
22 Sep 2008, 2:40 PM
#1
melena avatar

melena

New Zenner

Join Date:
Jun 2008
Posts:
71
Plugin Contributions:
0

change additional images position

In the product page, the additional images are showing at the bottom of the page (which is not very useful). How do I get them to show up under the product photo and description?
Thanks!

22 Sep 2008, 3:08 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: change additional images position

Open a copy of the following file to edit:

includes/templates/template_default/templates/tpl_product_info_display.php

Around line 157, CUT the following:-

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
  require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->

Now, you can PASTE it above (or below) any other section that's similarly enclosed in the <!--bof --> ... <!--eof--> tags.

You'll probably want it ABOVE the product description, so paste it ABOVE the line (around line 81) that says:-

 <!--bof Product description -->

SAVE the file, then FTP it back to:-

includes/templates/YOUR-CUSTOM-TEMPLATE/templates/tpl_product_info_display.php

24 Sep 2008, 12:41 PM
#3
melena avatar

melena

New Zenner

Join Date:
Jun 2008
Posts:
71
Plugin Contributions:
0

Re: change additional images position

did that but it's not working. I think there might something fishy in my templates folders bc I'm also having troubles to install the Google module (everything is in place and i can see on the checkout only it doesn't go there0.
Any suggestions of what i should be looking out for? or shall i just re-install a clean default template folder?
Thanks!

26 Sep 2008, 2:09 AM
#4
justmark avatar

justmark

New Zenner

Join Date:
Aug 2008
Location:
Canada
Posts:
46
Plugin Contributions:
0

Re: change additional images position

Hi guys!

I have a worse problem:
I don't see the additional images at all!
I have the IH2 and is working nice but I can't see the additional images in the product info page.
Any ideas?

Thank you,

26 Sep 2008, 5:12 AM
#5
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: change additional images position

justMARK:

Hi guys!

I have a worse problem:
I don't see the additional images at all!
I have the IH2 and is working nice but I can't see the additional images in the product info page.
Any ideas?
Url of site is?
Did you add addtional images and name them correctly?
How do I get them to show up under the product photo and description?
As fairestcape describes but you would probably need
to add divs and adjust stylesheet accordingly.
There is mod for this at
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=672