Skip to content

Instantly share code, notes, and snippets.

@biswajitpaul01
Created July 24, 2018 10:23
Show Gist options
  • Save biswajitpaul01/961779f2ac798cbce673e6a3bf45dc61 to your computer and use it in GitHub Desktop.
Save biswajitpaul01/961779f2ac798cbce673e6a3bf45dc61 to your computer and use it in GitHub Desktop.
Reload WooCommerce Fragments
// Update from any page
$( document.body ).trigger( 'wc_fragment_refresh' );
// Update from cart page
$( document.body ).trigger( 'wc_update_cart' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment