• Resolved Chandan

    (@chandang)


    I have set the street address field to google address autocomplete, but when we start typing street address, it reloads the checkout section rapidly as like other fields. I would like to stop the ajax calling while typing on street address as like Customer first name, last name and city name.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Chandan

    (@chandang)

    jQuery("#billing_address_1, #shipping_address_1").keydown(function (e) {
    		e.stopPropagation();
    	});

    Yeah, Through this code it has been resolved from my end, but if it is the wrong way to solve this problem, curious to know here.

    Thanks
    Chandan

    Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    Just to check, how are you adding that Google Autocomplete? I’m asking as the core WooCommerce plugin doesn’t have any options in that regard and I’m checking whether this forum is the most suitable support platform to use.

    Thanks!

    Thread Starter Chandan

    (@chandang)

    About the Google Autocomplete, I used a WooCommerce add-on for autocomplete checkout form. but that plugin doesn’t have any function to prevent this. but the topic not about the autocomplete ?? I was just curious to know How to stop calling ajax while entering street address on checkout page if any hooks for that.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    It looks like the solution you came up with is a decent one, if it works on your site, I’d say just keep using it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to stop calling ajax while entering street address on checkout page’ is closed to new replies.