WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
disable lightbox for product pictures (7 posts)

  1. mathysjp
    Member
    Posted 1 year ago #

    Hi
    I have a very small shop and i want to disable the lightbox for the product pictures.

    Example: here is the page: http://blog.swiss-paracord.ch/product/lanyard-schlusselanhanger/

    When i click to a picture a lightbox shown this picture.

    Is it possible to disable the lightbox for products?

    Cheers
    Jean-Pierre

    http://wordpress.org/extend/plugins/woocommerce/

  2. Roy
    Member
    Posted 1 year ago #

    In your WooCommerce settings, there is an option to turn off lightbox. Check the general tab.

    If that doesn't work, then you can always dequeue the script by putting the following in the functions.php

    wp_dequeue_script( 'prettyPhoto' );
    wp_dequeue_script( 'prettyPhoto-init' );
  3. mathysjp
    Member
    Posted 1 year ago #

    Ok, thank you.

  4. obriandavids
    Member
    Posted 10 months ago #

    Hi splashingpixels,

    I just need a little help please? The main product image for all my products are of such a low quality. I dont know why. Could you please tell me how to fix it.

    Secondly, please could you tell me how to disable clicking on the main product image? I have already disabled lightbox, but i am still able to click on the image, which results in the browser pointing towards the image file.

    Thank you for your help in advance :)

  5. obriandavids
    Member
    Posted 10 months ago #

    oh and here is a link to one of my products so that you can see what i mean.

  6. obriandavids
    Member
    Posted 10 months ago #

  7. cryogenn
    Member
    Posted 5 months ago #

    obriandavids - did you ever figure this out? I'm trying to disable my "click event" also on the single product page for my site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.