This was a bug that came through that since assigned groups come back alphabetically a function depending on only looking for a single group assigned to a user having a user also assigned to the default/non editable Registered group.

My fix is specific for using WooCommerce since it’s using the woocommerce_before_cart filter, but it could be modified to use any filter.

Required Plugins



Maje Media LLC cannot be held responsible for the functionality of this code. Please make sure you test it on a development site before adding the code to your production website. There is no support available for this (and other) code snippet(s) posted on this website. If you’d like Maje Media to do custom development to help with your custom implementation please send a contact request.

Leave a Reply

Your email address will not be published. Required fields are marked *