Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2009
    Posts
    11
    Plugin Contributions
    0

    image problem additional image location/placement

    Hi,

    I am trying to move the additional image straight up above the description box. My site is www.cashvisionco.com. I know i need to rearrange the code on the TPL_product_info_display.php file but i do not know which part of the code or where to put it. All attempts have resulted in the pages not displaying properly. If i could just remove the product description box this would work too. Any help is appreciated. Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,147
    Plugin Contributions
    0

    Default Re: additional image location/placement

    Quote Originally Posted by jay1981 View Post
    Hi,

    I am trying to move the additional image straight up above the description box. My site is www.cashvisionco.com. I know i need to rearrange the code on the TPL_product_info_display.php file but i do not know which part of the code or where to put it. All attempts have resulted in the pages not displaying properly. If i could just remove the product description box this would work too. Any help is appreciated. Thanks
    Ja,
    Please post your tpl.product_info_display.php file so we can see what your problem is..

    This will help.
    https://www.zen-cart.com/tutorials/index.php?article=5

  3. #3
    Join Date
    Mar 2009
    Posts
    11
    Plugin Contributions
    0

    Default Re: additional image location/placement

    I figured it out. Thanks for your help.

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,147
    Plugin Contributions
    0

    Default Re: additional image location/placement

    Ja,
    Just curious on what the fix was, for me and other zenners who read this thread..

  5. #5
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: additional image location/placement

    Hi Haredo
    I have just positioned my additional images next to the main image - I done this by altering the includes?templates>MYTEMPLATE>templates>tpl_product_info_display.php file

    Towards the bottom there is a piece of coding that reads

    <!--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 -->

    I cut the coding and pasted it after

    <!--bof Main Product Image -->

    <?php

    if (zen_not_null($products_image)) {

    ?>

    <?php

    /**

    * display the main product image

    */

    require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>

    <?php

    }

    ?>

    <!--eof Main Product Image-->

    I saved then uploaded - this has now given me the desired look.

    There is one slight issue however - if you look at the following page you will see that as i have 2 addiditional images the layout is a little off

    http://zainabscollection.com/index.p...products_id=22

    not too sure if anyone can help

    thanks

  6. #6
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,147
    Plugin Contributions
    0

    Default Re: additional image location/placement

    Ab,
    Thanks for posting the solution, benefits the zen community for others who read this thread..

 

 

Similar Threads

  1. Additional Images Layout and Location.
    By phantomxc in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 28 Feb 2010, 08:43 PM
  2. Image Placement
    By Resqjock in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Mar 2009, 12:52 AM
  3. Additional image location - placement
    By taodesigns in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Nov 2008, 10:28 AM
  4. Placement of Additional Image
    By mdegeiso in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jul 2007, 07:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR