Skip to content

Instantly share code, notes, and snippets.

@ApoGouv
Created January 30, 2018 13:06
Show Gist options
  • Save ApoGouv/9ef647c23126692049e96caa65532c3d to your computer and use it in GitHub Desktop.
Save ApoGouv/9ef647c23126692049e96caa65532c3d to your computer and use it in GitHub Desktop.
While in the OpenCart back-end, navigate to Customers>Customers and then open up a console and type:
$('input[name*=\'selected\']').prop('checked', true);
$('#form-customer').submit();
This will remove all customers from the current page.
(It's a quicker version of clicking to select all customers of the page and then the delete button and accept JS prompt box..)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment