vanquish supports this item


79 comments found.

Hi there; When I want to define some new rules, some of the last new rules defined disappear and goes out. For Example, I define the new role ‘DigiMan01’ and ‘DigiMan02’, after I enter the new role named ‘DigiMan03’, it is not shown by the plugin, Or when I define the ‘DigiMan04’ role, it replaces the last one (instead of adding to the last one). Please help me out there.

This seems to be related to a server issue that is not properly able to manage the posted data.
Please check in the WooCommerce -> Status menu the PHP max input vars value. It should be above 6000. If not, please edit your server php.ini (or contact your hosting maintainer) in order to fix it. Once done recheck that menu to be sure the modification took effect.

I have a custom role called ‘Rep’ I am looking for a plugin that will allow me to remove that user Role. Will this work? Would their user Role be changes to Customer or just blank?

For that purpose you could create an “amount rule” in which if the customer spent at least 1£ in last 3 months ( for that use the dynamic period and then set 3 months) the plugin will assign the customer and the other roles you need. Enable the Role(s) removal if amount spent doesn’t match By selecting the Yes or the Selected ones options.

For the existing user you can use the Roles re-calculator to make rule take effect.

The role recalculator will remove all users in the last 3 months that haven’t applied?

No, role re-calculator doesn’t not delete user accounts. According to the existing amount-rules it assigns (and eventually removes according to the rule settings) the selected user roles.

Pre Purchase question

With this plugin, is it possible to add the option as toppings for Pizza and then the toppings to have different prices according to the SIZE of the pizza? for example when selecting 9” pizza, per topping cost is £1 but on when selecting 15” pizza, set it £2 per toppings?

No, the plugin doesn’t offer that features.


bosal Purchased

Can the role o matic work like this ? Buy a product from a selected category and you will get a additional role ?

No, if a category is changed it will not trigger the role-o-matic. The plugin assigns roles according the purchased products only when an order is placed or when if it is modified via backend.

So if you simply modify a rule by editing a category, it won’t affect already computed roles. The plugin hasn’t any support for 3rd party plugins like the “Post Expirator” plugin.


bosal Purchased

So what does the recompute do ?

As you can read in the plugin description page, it is used to recompute roles according the existing “role amount rules” (the one created using the Amounts configurator menu).

Created new user role and assigned to 4 products.

I click Recalculate user roles and 0 users are updated.

Looks like I did not check your documentation in detail before purchase. It seemed an obvious function to have.

The primary reason I bought this plugin is to assign user role for my existing purchases by product.

Is there anyway to get this done.

Figured how to get this done using the amount configuration.

Just one more issue. I have items that cost Zero that I want to assign roles. Unfortunately the amount configurator does not allow Zero as a value. Any way around this?

No unfortunately it is not possible. It doesn’t allow 0 amount because otherwise the role will be assigned to any user placing at least one order.

I use WooCommerce Memberships, which tracks entitlements after buying certain items on store. For example, customers might get 1 month of membership after buying product ABC1. The membership roles have their own start and stop dates.

I’m looking for a plugin that will auto-assign a specific role (additive, not replacing) to users based on Membership purchased, and if membership is extended or removed, the roles would then change accordingly.

On the demo, I couldn’t see any integration with WooCommerce Memberships specifically. Granting a role at time of purchase doesn’t help much, even with an expiration date, because other things might change a user’s membership period.

No, I’m sorry but the plugin hasn’t any support for the WooCommerce Memberships plugin. So if any membership plan is modified, this doesn’t not affect roles assigned by the Role-O-Matic plugin.

However maybe I can try to extend the plugin. Could you send me a private mesage (click on my name then use the low-right box) with the following info:
  1. your email address
  2. A copy of that plugin
I can try to see if it possible to add a new special feature that allows to assign additional user roles (like already happens for “product-role”) in case a meembership is purchased (or renewed after it was experied for a long time) and eventually revoke those roles if the memmbership expires or it is cancelled.

However I cannot assure you anything, I have to study that plugin code and documentation to see if this extension is possible.

Presale question

1) Will i be able to retain the previous roles of the user , one the role is removed as the part of the rule .

For eg , lets assume, the user A has a custom role 'cust1'. As the part of the woocommerce purchase by using your plugin , he gets 'trial1' role for one month.

Now my question is that , will the user retain role ‘cust1’ after one month , when the role ‘trail1’is removed from as the part of the rule we created

2) Do i need to create the role ,by using your plugin or can i use any existing roles



yes you can use any pre-existing role created with any plugin

For what concerns the role removal, in case the rule is a “product-role” rule, if you set an expiration data, the all the assigned role associated to the rule will be deleted. If you want to terain a role, use the Role(s) to assign after expiring date option selecting the one you want to leave.

Please use the demo site before purchasing to perform the tests you need to be sure the software fits your needs and expectations. In case of further info, feel free to ask.

Hi, can you please tell me does this plugin assign new role based on one time purchase amount or total amount through some time period. And does it work good with Woocommerce dynamic pricing & discounts from Rightpress? Thanks

the plugin hasn’t any particular support for the Woocommerce dynamic pricing & discounts plugin from Rightpress.

For more info about the plugin, please go to the description page. The plugin has also a demo site where you can fully test it before purchasing in order to be sure it actually fits your needs and expectations.

I have a problem with the Woocommerce-Role-O-Matic plugin. The last function in the woocommerce-role-by-amount-spent/classes/com/WCRA_Cron.php file breaks front-end user registration. I have custom fields in registration through Advanced Custom Fields, however, upon registering, I get the get_current_screen is an undefined function error which can be referenced from here: I have commented out this function and it works as expected, however, I would like this to be looked into. Thank you.

thank you very much for reporting the issue. I’ve just released the new 4.5 version that should fix it. Give a try and let me know!

You can manually download the new version via codecanyon or receive as automatic update by installing and configuring the Envato updater plugin:

At last…If you enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really reeeeeally appreciate! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)

Hi, I have the following error on my dashboard page when selecting 1(My account page – Display current assigned role list) and 2 (My account page – Display next role list) options:

Warning: date_add() expects parameter 1 to be DateTime, boolean given in /home/bhwoo731/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Order.php on line 123

Warning: date_format() expects parameter 1 to be DateTimeInterface, boolean given in /home/bhwoo731/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Order.php on line 124

Warning: date_add() expects parameter 1 to be DateTime, boolean given in /home/bhwoo731/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Order.php on line 123

Warning: date_format() expects parameter 1 to be DateTimeInterface, boolean given in /home/bhwoo731/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Order.php on line 124

Warning: date_add() expects parameter 1 to be DateTime, boolean given in /home/bhwoo731/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Order.php on line 123

Warning: date_format() expects parameter 1 to be DateTimeInterface, boolean given in /home/bhwoo731/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Order.php on line 124

it seems that the $start_date variable is not containin a proper date string. It sonds strange because it should be computed by the statement defined in line 91 in which it is computed using the native php date() function.

It could rely on a server issue, however without any further clue it is quite hard to determine the cause. Which version are you using? is the latest 4.5 version? If not, could you try updating and report me if you still get the issue?

If so, if you send me via private message (click on my name and then use the low-right box) the following data:
  1. you email address
  2. Full admin access to the wp-admin area
  3. a FTP access
  4. a detailed step by step guide on how to experience the issue

I can try to debug that script in your server to have more clue about the cause and eventually implement a fix. Thank you.


PreSale Question?

Is this compatible to WooCommerce Deposits Plugin and their Partially Paid Status. For example if the required amount is 50$ to become VIP then the customer order 100% but they paid only half which is 50$ if we change the status to Partially Paid, can they become VIP or not.

Also for the WooCommerce Order Status & Actions Manager because we are using may custom order status.


no the plugin hasn’t any particular support for the WooCommerce Deposits plugin.

For what concerns the custom statuses, if they are properly implemented and they are fully WooCommerce compliant, there should be no problems.

On every setting page for this plugin, it gets stuck on the spinning circle when I click the “Update” button. I cannot save any settings. When I add a new rule, I cannot save it because it gets stuck on the spinning circle when I try to update.

without any other clue it is quite hard to determine the cause. Try enabling the wordpress log debug mode ( ) and see if any error is printed in the debug log. Check also your server log to see if any error is reported.

It could also depend on a too low value of the PHP php max input vars var. Check the WooCommerce -> Status -> PHP Max Input Vars. It should be above 6000, if not please your PHP.ini file and se the max_input_vars variable to a value greater than 6000. Once done, restart your server and go in the Status menu and make sure that the change took effect

Hi, I have a question regarding for Time Period Type. I understand that there is an option for Dynamic period and Time range span, but I realized the dynamic type defined a time range goes from “now” to the “last”.

However, my rule is the user currently has a basic role, and when the user spends $xxx in the next 180 days, the user will gain a higher level role. Based on this plugin, I wont be able to know when the user will become a certain role, so I think it s unable to count the time range back?

My rule example: Andy has a ‘Customer role’ on 2018/5/1, and when he spends $12960 within the next 180days, he will promote to ‘Regular Customer role’

How can I set this rule based on the functions available in this plugin?

Thanks for your help!

Hi, the plugin as you said allows to assign a role accoring the amount a customer spent is $xxx in:
  1. define time range
  2. a time span that goes from to day to the last YYY days (like the last 180 days)

So there isn’t any option to set a specific time range which the start date is “now” and as end date “now” + YYY days.

If for your purpose you do not want to consider the last 180 days for your rule, you should then for now create a fixed time range (that goes from now to the future 6 months) and in 6 month change its time strategy making it consider a dynamic perido that goes from “now” to the latest 180 days.

Is there a way, to sync all CUSTOM roles set by roleomatic to all sites in multisite-network?

I know. But as i see at your plugin, you are ingenious programmers. So i wonder, if you know some helpful filters :)

I’m sorry, but unfortunately I do not know how this can be achieved :(

Okay, thank you anyway :))

Hello, Just spent the last few weeks troubleshooting my woocommerce store with subscriptions because automatic renewals were not working and we lost a lot of clients because of it Love the plugin but it has a huge bug in it, that causes woocommerce subscription renewals to fail. (with no error point back to role-o-matic btw) We finally narrowed it down to role-o-matic by disabling all plugins except woo commerce and woo subscriptions, then the minute role-o-matic is activated the renewals fail again. When deactivated it works… I really need the role assignment so want to know if this is something that is going to be fixed. thanks – Dave

Unfortunately wordpress doesn’t allow to disable plugin during certain process :(

However, as you can see from the error you reported, actually the script that make the site crash is part of the “WooCommerce stripe gateway”: /nas/content/live/davemfrank/wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-stripe-helper.php , so unfortunately there isn’t much I can do. You should then report this issue to its developer or eventually try disabling it to see if you stil get the issue.

Ok thanks for taking a look, the woocommerce stripe script is what runs from the scheduler to renew the subscriptions. I’m pretty sure if I reach out too woocommerce and say the script fails when I have a certain plugin enabled they’ll tell me to disable that plugin. They already told me before the renewal issue was caused by a plugin and to find out which one then disable it.

Unfortuantely I cannot do much more. Eventually I can suggest to custom modify that plugin script. That line should look like ( I found hte script here: ) :
public static function delete_stripe_fee( $order = null ) {
        if ( is_null( $order ) ) {
            return false;
        $order_id = WC_Stripe_Helper::is_pre_30() ? $order->id : $order->get_id();
        delete_post_meta( $order_id, self::META_NAME_FEE );
        delete_post_meta( $order_id, self::LEGACY_META_NAME_FEE );
Add at 108 (before the $order_id = [...]) something like:
return false;

It should prevent that fix. However in case of update remember to restore that customization and try at your own risk.

At last…If you enjoyed my efforts to support and/or my plugin please consider leaving the 5 stars, I would really appreciate! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)

You have knowledge of whether it is compatible with “”

Also, your recommendation …

What subscription plugin is recommended for use with Role O Matic?

I ask you why.

I need a buyer to pay for the order and that order assign a ROLE.

S2 Member provides 4 levels





S2 Member allows you to control downloads per day and per month.

Possible scenarios.

1. The buyer buys #oredert $ 100 for a soft, that assigns him a role s2member_level2 for 30 days.

This allows S2 Member to quote user downloads for 30 days.

2. Subscription with recurrent payment #order per annual subscription, this assigns a role s2member_level4

This allows S2 Member to quote user downloads for 30 days.


No for now it is not possible. That feature is not planned to be implemented however I’ll see if something will be possible in a future release, but I cannot give you any eta.

Thank you very much for your answer.

The plugin is awesome, very useful, I like it a lot.

Even without this option that I need, it is indispensable to me!

I ask you one more question ….

Is it possible to associate a role based on “Role per amount” on a certain product or category?

For example $ 100 every 30 days Role of user “MONTHLY ROLE” if you buy the product “Monthly Product” or buy a product of the “category thirty”

If you do not find a payment for that product for the 30-day period, then when you recalculate the plugin, delete the “Role per amount”

For that, you can use the “Product(s) restriction” and “Category(ies) restriction” options: while configuring the rule.

In addition select as order status used to compute roles (General options menu) only the ones assigned when the order has been payed.

At last but not least…If you enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really appreciate! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)

Hi !

please, send me the link.



vintaych Purchased

Hi there,

My support has ended long ago..

This plugin has been superb and serving me well. However, just noticed one small issue that I would appreciate if you could assist..

For instance, I assigned Role from “Customer” to “member” automatically if they spent $120. I also have this rule (from other plugin) that upon spending $120, they will get a 5% discount.

As 5% off $120 is below $120, they will not be automatically assigned “Member”. Is there a settings that states $120 minimum spend (before discounts, coupons, etc.)?

thank you for your appreciation :)

Unfortunately there isn’t any feature to grant support to any 3rd party plugins that manipulate the order total with custom discount.s If you however know that every time an users spends $120 dollars a discount is applied, try then modifing the rule assigning as minimum spent as 126$.


vintaych Purchased


Thanks for the prompt response.

Actually I’m not asking to grant support to 3rd party plugins. But rather if there is any guidance on how I could change the plugin’s file (file location etc.) in order to pull the Cart Value (before WooCommerce default coupons are applied) for minimum amount .

$126 can’t work because there is a promise to the customers that $120 will get them the 5% and automatic membership.. :(

You could have a look to the get_orders_by_date_and_user_id function defined in the WCRA_Order.php file located in the classes\com folder.

That function performs a custom query (in order to have better performance) retrieving the sum of the order_total metadata of the orders according the curent user and the data range.
If you know how and where the discounted amount is stored, you can modify that query subtractling the discount.
In alternative you can leave the query unaltered but for each order, retrieve the eventual discount and then subtract it from the $result->order_total element.

I hope this helps! :)

hey, i cant use your plugin anyhow. I installed it on a test-domain aswell. On first site it worked very well, on other site, it’s not working. After i deactivate and active on old site, plugin deactives here aswell.

brillant ! it worked =)

Yeah, glad to hear that :)

If you enjoyed my support and/or my plugin please consider leaving the 5 stars, I would really appreciate! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate to your purchases)

You Welcome :)