Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Created January 18, 2016 10:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jameskoster/7e3cd2f04122eb0fce8f to your computer and use it in GitHub Desktop.
Save jameskoster/7e3cd2f04122eb0fce8f to your computer and use it in GitHub Desktop.
Storefront - remove sticky order review feature
add_action( 'wp_enqueue_scripts', 'jk_remove_sticky_checkout', 99 );
function jk_remove_sticky_checkout() {
wp_dequeue_script( 'storefront-sticky-payment' );
}
@garretthyder
Copy link

Thanks for this, I'd made checkout one-column in my child theme and the sticky was causing a lot of glitching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment