Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Location
    Gex, France
    Posts
    70
    Plugin Contributions
    0

    Default Additional thumbnails on product listing page

    HI there guys and gals,

    I am developing a new t-shirt store for a client and we would like to display the additional thumbnails from the product page on the product listing page so that we can show the other colour options available.

    I have been trying to add -
    PHP Code:
    require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_additional_images.php'); 
    from the product_info_display.php in the modules/product_listing.php file but can't seem to place it without breaking the page or causing the main product image to not display at all.

    Could someone with a little more php knowledge please enlighten me on where to place this so that the thumbnails can sit in a row below the main image.

    Thanks
    Matt

  2. #2

    Default Re: Additional thumbnails on product listing page

    Yes or if there is another way? I also would like to add more thumbs to my site but im absolutely moronic when it comes to editing .php files lol...
    Remember... Stay a Calm and Asertive pack Leader.
    Caesar Milan.

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Additional thumbnails on product listing page

    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4

    Default Re: Additional thumbnails on product listing page

    OK... Ive gone thru it and I cant get it to work. May also be that I dont realy understand it?

    Ive created under images a file called Tie_Downs_Basic. This is the name of the product. under that I have 3 pics, Randoms 320.jpg,Randoms 326.jpg and Randoms 340.jpg. In the product screen under admin I tiped the product image as Randoms 320.jpg and it still shows just the one image?
    Remember... Stay a Calm and Asertive pack Leader.
    Caesar Milan.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Additional thumbnails on product listing page

    In most cases, there is no need to create a subfolder under /images/ for each product. Just put the main product image (Randoms_320.jpg in your case) in /images/, along with the additional image files. (Note: it is bad practice to have spaces in filenames - use an _ or - instead. Some programs don't like spaces in filenames.) Name the additional images like Randoms_320_1.jpg, Randoms_320_2.jpg, or Randoms_320_325.jpg, Randoms_320_340.jpg.
    Since your base image is named Randoms_320, the additional images need to start with the same thing to be recognized.
    Also, if you capitalize a filename, you MUST capitalize it the same way everywhere you use it. It is easier to remember if you just use lowercase in all filenames.
    Last edited by gjh42; 7 Sep 2010 at 03:06 PM.

  6. #6

    Default Re: Additional thumbnails on product listing page

    Maby I needed to install something first lol?

    Ok I went and deleted the folder I made. Then deleted the images related to the product usinf FTP.
    Then I uploaded a new image flower_001.jpg with admin to the main directory. I then With FTP transered Flower_002.jpg and Flower_003.jpg to the main directory. But still when I open the product only 1 pic shows. The Flower_001.jpg?
    LOL Im confused?

    http://dogjumps.co.za/index.php?main...&products_id=1

    Maby you can see wats going on?
    Remember... Stay a Calm and Asertive pack Leader.
    Caesar Milan.

 

 

Similar Threads

  1. v139h Additional Images on Product Listing Page
    By rbarbour in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 11 Dec 2012, 11:41 PM
  2. Additional Images on Product Listing Page
    By sundoggin in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 May 2010, 10:49 PM
  3. Additional Images to be displayed in Product listing page
    By deepti in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Sep 2009, 03:50 PM
  4. Add Additional images on product listing page
    By sundoggin in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jul 2009, 07:43 PM
  5. How can I use medium images on product listing page, and thumbnails in sideboxes?
    By greydawgjr in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 25 May 2009, 09:50 PM

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