Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    You can add such functionality by adding custom event to our button.

    Regards,
    Dima

    Thread Starter kmrn

    (@kmrn)

    How exactly would it be possible?

    Do I need to hardcode it?

    Thread Starter kmrn

    (@kmrn)

    function hide() {
    document.getElementById(‘quickview’).style.display = ‘none’;

    $( document.body ).trigger( ‘added_to_cart’, [ response.fragments, response.cart_hash, $thisbutton ] );

    I want to achieve it with coding. How do I need to set the code on top up in order to work?

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    To close preview you can use this line of code
    jQuery('.berocket_preview_close').trigger('click');

    Regards,
    Oleg

    Thread Starter kmrn

    (@kmrn)

    Thank you so much!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide popup after Add to Cart’ is closed to new replies.