• gabrielhuisg

    (@gabrielhuisg)


    Hi
    I notice on the demo page that the we can still head to the single product page when we click on the header. In doing so, it would lead us to a seperate product page. Could we disable this function and only enable loghtbox to work?

    In other words, whenever we click on a product, a lightbox will show up only despite clicking on the product title etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gabrielhuisg

    (@gabrielhuisg)

    Anyone able to assist me?

    Thank you

    Hi there,

    I wanted to do the exact same thing and did it like this:

    1. Adapt the woocommerce file content-product.php in my theme. Change the “normal links with the links to the popup:
      <a href="#wpb_wl_quick_view_<?php echo get_the_id(); ?>" class="wpb_wl_preview open-popup-link" data-effect="mfp-zoom-in">
    2. Overwrite the function “wpb_wl_hook_quickview_content” in my function.php to not show the “Quick View” Button

    If you need more help than this, let me know. ??

    Cheers, Julia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can product only show lightbox when clicked’ is closed to new replies.