Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 169539

Ajax Trigger Update Shipping Methods

$
0
0

Replies: 0

I am trying to get my shipping options to update on page load when the cart page is loaded. I am trying to use the cart.js trigger like this…

<script>
jQuery( document ).ready(function() {
jQuery('body').trigger('updated_shipping_method');
});
</script>

I am expecting to see the spinner and then my shipping options display but it’s not happening.

Any ideas what I am doing wrong?


Viewing all articles
Browse latest Browse all 169539

Trending Articles