Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2011
    Posts
    5
    Plugin Contributions
    0

    Default Removing "larger image" hyperlink when no image present

    Hi guys
    I have disabled images for my product listing "detail" page (the one you get when you click on a product for "more info" or click the product name from the product listing).

    Currently "display product image" is set to "0" in admin.

    What I'd like it that products with NO image specified have NEITHER the "no image" placeholder NOR the empty hyperlink saying "larger image" when there is no image.

    Is there a way to change Zen Cart behavior so that products with no image specified simply show NO IMAGE and NO HYPERLINK (i.e. no images, nothing except the product name etc.)?

    Thanks!
    Husefool

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Removing "larger image" hyperlink when no image present

    By default if no specific image exists the /images/no_picture.gif is displayed
    One can edit this image to be what they prefer - - just maintain the file name and file type as the easiest route versus altering the code for some other image name/type

  3. #3
    Join Date
    Jun 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Removing "larger image" hyperlink when no image present

    Thanks for the reply! Actually what I am looking for is a way to remove any image from a product with no image (I have thousands of products, most with no image, so if I relied on the default "noimage.gif", my shop would be filled with the same gif)

    I'd like to have no image or hyperlink at all, for products with no image. Is it possible?

    Thanks! :-)

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,706
    Plugin Contributions
    12

    Default Re: Removing "larger image" hyperlink when no image present

    Admin >> Configuration >> Product Listing -- Set Display Product Image -- change 1 to 0

    This WILL effect ALL product images.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Removing "larger image" hyperlink when no image present

    I'd like to have no image or hyperlink at all, for products with no image. Is it possible?
    You will have to custom code the check for an image along with what to do in an if>else

 

 

Similar Threads

  1. Removing 'larger image' if no image present (on purpose)...
    By thumper300zx in forum General Questions
    Replies: 1
    Last Post: 23 Mar 2013, 10:50 AM
  2. ZC isn't using "_LRG" image for "larger image" pop-up (??)
    By whiteleyweb in forum Customization from the Admin
    Replies: 6
    Last Post: 14 Oct 2010, 08:43 PM
  3. Can I replace "larger image" text with a .gif image button?
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 24 Oct 2009, 10:11 AM
  4. Remove "larger image" when no image for product?
    By maineiac13 in forum Templates, Stylesheets, Page Layout
    Replies: 22
    Last Post: 2 Oct 2009, 12:52 AM
  5. Replies: 0
    Last Post: 31 Dec 2008, 07:39 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