Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Posts
    287
    Plugin Contributions
    0

    Default On the product listing make product image link do somewhere else

    If you look at:

    http://kitchenwarehouseltd.com/compl...gh-gloss/cream

    This is the product listing page, I want the images to link to the image source rather how they normally link to the product page.

    I know I would have to change /includes/modules/template/product_listing.php

    PHP Code:
    $lc_text '<div class="product_image"><a href="' zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > and $_GET['filter_id']) > ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' $listing->fields['products_id']) . '">' zen_image(DIR_WS_IMAGES $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTHIMAGE_PRODUCT_LISTING_HEIGHT'class="listingProductImage"') . '</a>';} 
    I just dont know what to change it to!
    Help!

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

    Default Re: On the product listing make product image link do somewhere else

    What do you mean by "image source"? Do you want the larger image to show? And if so, why would you want to leave the product listing just to go to one image? Do you want a "larger image popup" effect?

  3. #3
    Join Date
    Dec 2011
    Posts
    287
    Plugin Contributions
    0

    Default Re: On the product listing make product image link do somewhere else

    Hi,

    Yeah its just so that the larger image will popup using zen_lightbox. All I need for it to work is the link to go to the image source instead of the product cart.

    The reason behind this is that I have two different main types of product complete units, these are forced to order from the products listing page as you can see from the above link (You cant click into the product info page)

    and I also have products such as replacement doors where users buy from the product info page. as you can see here:
    http://kitchenwarehouseltd.com/repla...tandard-shaker

    On the product info page you can see bigger pictures, so I just want to replicate that on the product listing page for the units. I hope my rambling makes some sense to you! haha

 

 

Similar Threads

  1. v151 Make entire product listing box a link to product info
    By longstockings in forum General Questions
    Replies: 1
    Last Post: 23 Oct 2013, 07:52 PM
  2. Replies: 0
    Last Post: 6 Jul 2012, 08:52 PM
  3. Set Product Listing Images to link to Image not Product Info
    By Ruts67 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Feb 2010, 12:35 AM
  4. Adding the shopping cart info somewhere else...
    By john9 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Feb 2007, 09:17 AM
  5. Advertised product goes to link somewhere else?
    By anomaly0617 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Dec 2006, 06:52 AM

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