The WooCommerce Role-O-Matic plugin (WCRA) is a powerful tool that allows the store administrator to create “assignment rules” that dynamically assign roles to the customers based on the amounts spent during the configured time periods or according to the products purchased . This tool can be very useful because it can be used together with the WooCommerce Pricing! (or a third-party plugin) to assign dynamic prices or discounts according to the assigned roles.
Remark: The plugin, like WordPress, requires a PHP version of at least 5.5.