Support » Plugin: AJAX Login and Registration modal popup + inline form » It’s Popping up On Add to Cart

  • Resolved dubh

    (@spmcnerd)


    When logged out on Woocommerce product pages it pops up however I allow customers to buy without joining and I haven’t bought our pro version. Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Max K

    (@kaminskym)

    Hi,

    That’s my fault.

    Please open file via FTP/Plugins Editor:
    \plugins\ajax-login-registration-modal-popup\assets\lrm-core.js

    and comment/remove lines

    	// ### Woocommerce Section ###
    
    	// Product single page
    	$(document).on('submit', "form.cart", signup_selected);
    	// Products list
    	$(document).on('click', ".add_to_cart_button", signup_selected);
    	// To stop adding to cart items
    	$(".add_to_cart_button").removeClass("ajax_add_to_cart");
    
    	// ### Woocommerce Section :: END ###

    Regards, Max

    lol hey I really appreciate your help and time to offer this one!
    I was all over the php’s but to scared to play with the js’es 😉

    Plugin Author Max K

    (@kaminskym)

    You are welcome =)

    I was all over the php’s but to scared to play with the js’es

    It is not so fearfully ☺

    • This reply was modified 1 year, 10 months ago by Max K.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘It’s Popping up On Add to Cart’ is closed to new replies.