Skip to content

Instantly share code, notes, and snippets.

@royce002
Created November 2, 2017 15:07
Show Gist options
  • Save royce002/b8a5d9a7af8c7d6fa319d08e8464ec7e to your computer and use it in GitHub Desktop.
Save royce002/b8a5d9a7af8c7d6fa319d08e8464ec7e to your computer and use it in GitHub Desktop.
Delete an Order from the Shopify Backend. (Good for test order blowout)
$('button[name="button"].btn-destroy')[0].click();
setTimeout(function() {
console.log("fire");
$('.btn-destroy-no-hover')[0].click();
}, 600);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment