Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Product listing modification help.

    Hello.
    There is a need for me to modify product listing. i can not understand zc functions as much , so after so many tires , i thought i ask .

    I need to add zoom effect to product listing image. I added new attribute to image called longdesc , but need to remove anchor tag of image so when is clicked , it wont take me to product page.

    also , new attribute .. ( longdesc ) need to contain link to medium or large image of that product ..

    this should be fairly easy for anyone with knowledge of zc functions and stuff. and greatly will help out to add zoom effect to product listing.

    Thanks.

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Product listing modification help.

    ok , in product listing , i changed the code that display image to this

    $lc_text = zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'longdesc=" "' . 'class="listingProductImage"' );



    i like to know how i can add this function to above link
    $("img").fullsize();

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Product listing modification help.

    never mind , i been reading things Arss backward

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Product listing modification help.

    Ok , i managed to make the script work , but need help to add link to medium image inside new image attribute that i have added
    currently the code looks like this with new attribute.
    Code:
                $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? 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_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'longdesc=""'.'class="listingProductImage"') . '</a>';
    i need refrence to medium image of product inside longdesc attribute.

    thanks.

  5. #5
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Product listing modification help.

    i can not believe nobody knows how to add link to medium image inside an attribute .. or i guess no one cares to shed some light over here .. i guess i wasted lots of time helping others. .

 

 

Similar Threads

  1. v150 Product Layout Modification from a specific theme HELP
    By ronniek524 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Apr 2012, 02:05 PM
  2. Product listing layout modification HELP!
    By missinglife in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Oct 2009, 07:27 AM
  3. Product Listing Page - looking for a slight modification
    By beyre in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Apr 2009, 04:32 AM
  4. Product Listing Modification to Include Link to Media Manager Preview
    By sleastack in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2008, 12:25 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