Code

Discussion on WooCommerce Role-O-Matic

Discussion on WooCommerce Role-O-Matic

Cart 510 sales

vanquish supports this item

Supported

207 comments found.

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

Thanks

Praveen

Hi,
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.

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.

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.

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.

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).

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.

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.

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.

Hello, We are using your plugin and it works great. There is only one point that is not so great.

When we edit a user (change password or name), alle the rights are deleted. And the user is only customer again.

Have you heard this before or are we doing something wrong? Thank you Jeroen

Hi Jeroen,
unfortunately this is not an issue related to the Role-O-Matic plugin. The issue you are experiencing is related to the fact that by default WordPress doesn’t handle multiple roles. So when editing a profile it will allow you to select just one: https://www.dropbox.com/s/3uqbmp1p7twux1p/wcra_role_edit.jpg?dl=0
So if you hit the save button, it will reset the user assigned roles.

To avoid that, if you plan to manipulate user profiles, just install a plugin like Multiple Roles. In this way on the user edit page, wordpress will list all the assigned user role. So when saving it, they won’t be resetted.

Hello, Could you please help me out here. I have two questions.

First, i have serveral variable products. The variation is the time that they buy to have acces to some content (1 day free, 3 month, half year, one year). I bought a product, voor 1 day free. But after 1 day, i still have acces. It looks like the user rights aren’t set back. Is there someting going wrong? https://www.screencast.com/t/aJLBACxdG https://www.screencast.com/t/84PzVEXr9ml2 I have set two products (the master product and the variation)

second is it possible to import old user (from another system)? We are building this website and have members on our ‘old’ website. Can i import them with the time they have bought acces to on the old website?

I hope it is clear, thank you for you help. It looks amazing!

Thank you Jeroen de Rooij

Yes, The Role-O-Matic just assign roles to user. To restrict page access I’ve used this other plugin of mine: https://codecanyon.net/item/wordpress-posts-woocommerce-restrict-access-products-scheduler/14427619

Just create a new scheduling rule in which:
  1. Select custom post as post type
  2. Select the pages you need to restrict the access
  3. Select the page in which unathorized users have to be redirected
  4. Select the “publish” visibility option
  5. Select the role for which the pages have to be visible (like Vip Customer)
  6. Select all the month and days available
In this way just the users belonging to the selected role(s) will be able to acess the selected pages. It also has a demo site in which you can test it in order to be sure it actually fits your needs and expectation. In case of furher info feel free to ask. I hope you enjoy :)

Thank you for your reaction, I did a quick check, it looks great. Is it possible to set rules to categories? Based on a specified role?

Thank you Jeroen

Yes, you can create scheduling rules using also categories. You can also set for which roles the publish/unpublish rule has to take effect. In your case for example the publish rule will take effect only for “Vip customer” role. For other roles, the page will be “unpublished” (so will not be accessible).

Pre-sale question:

1) Does AUTOMATIC ROLE RECOMPUTATION mean that it is possible to change user roles based on lifetime purchase value of a customer who has made all his purchases prior to installing this plugin?

2) Does AUTOMATIC ROLE RECOMPUTATION work without causing server load issues if I have 4000+ customer orders (4 products)? My servers configuration is 2 core CPU and 2 GB RAM.

Hello,
  1. it depends on how you have configured the amount per role rules. If you create rules that takes in consideration your store lifetime then the answer is yes.
  2. No, the operation requires active server computation resources. So if you have many users each of them with several orders and you have you may experience server slowdowns

Hi, I’ve bought Role-O-Matic and would like to know if my scenario can be done.

Upon registration user gets standard “Customer” role. If user’s total amount spent within a year is over $500, then user gets upgraded to “VIP” role.

But the “VIP” role would only be valid for one year. So for example, if user gets upgraded to “VIP” role on Jan 1st 2017, the user’s “VIP” role would expire on Dec. 31st 2017 and auto rolls back to standard “Customer” role on Jan 1st 2018.

Thanks!

Hi,
for that kind of purpose create two rules using the Amounts Configurator menu.

FIRST RULE: VIP ASSIGNMENT
In the “Time period type” select the “Fixed periods” and in the “Dates” section create a period that goest to the 1st January 2017 to 31st December 2017.
In the “minimum amount” set 500 (this value doesn’t not consider taxes) and in the “Role(s) to assign” select the VIP.

SECOND RULE: VIP REVOKE
Create a rule for wich the date goes from 1st January 2018 to 31st December 2018, “minimum amount” to 0, “Role(s) to assign” customer and “Remove old role(s) before assign the new one(s)” set to yes.

After doing that run the “Roles re-calculator” tool in order to assign roles to user that already placed orders in your store.

hello, does this plugin work with woocommerce subscriptions? a userrole should be assigned once a subscription is made and should be automatically removed when the subscription ends or is not paid anymore

Hi,
the plugin hasn’t any specific support for subscriptions plugins.

However you can use the Role per Product feature that allows you to assign roles according to the puchased product (that in your case could be a subscription). The Role per product allows you also to set an expiration date that can be extended if the user re-purchase the product.

You can test this feature before purchasing using the demo site: http://www.codecanyon.eu/wcra/wp-admin/
user: demo
pass: demo


In alternative, if you send me a copy of that plugin via private message (click on my name then use the low-right box) and a detailed description of you use case (how and when a subscription is created and automatically renewed, when is automatically cancelled and so on), I can try to extend the plugin to have support for that plugin features!

Hello, we’re using a rewards & discount plugin to give discounts based on how much customers spend, but what we’re also after is a way to give discounts if a customer has been assigned a specific role after they have spent set amounts of money during the year.

1. When a customer signs up they are given the role Customer Standard. 2. If they spend £500 – £999 they are given the role Customer Silver & 2% discount on cart. 3. If they spend £1000+ they are give the role Customer Gold and a 3% discount on cart. 4. If they spend £200+ they are given the role Customer Platinum and a 5% discount on cart. 5. On the anniversary of their signup their membership is set back to Standard until they start spending again.

Will this plugin help with any of these.

Thanks

Tony

Hi,
the Role-O-Matic plugin allows you to assign your customer specific roles according to the amount spent. It doesn’t apply any discount.

To apply discount accoring to the current user role, you can use this other plugin of mine: https://codecanyon.net/item/woocommerce-pricing/14679278

If you wish to try both plugins together to be sure they actually fits your needs and they work as you expect before purchasing I can set up a private demo site. Let me know by sending a private message (click on my name then use the low-right box).

Thanks for response. We’re already using a rewards / discount plugin which does most of what we need, the main thing is getting these updated user roles on spend amount. Do you know if your plugin will work with other 3rd party plugins or does it depend on what the other plugin is? Cheers

The plugin doesn’t have any support for 3rd party plugin. So you have to manually configure the amount per role rules in order the plugin to properly assign user roles according to the amount spent. It doesn’t assing or revoke user roles according to 3rd party plugin actions.

Hi,

I really like your plugin.

I have a little different requirement, hopefully, you can help me and it can also feed into your roadmap.

Here are the use cases.

Use Case 1: If the customer purchases products worth 3000 during the Christmas period. They should receive a coupon code which gives them flat 250 off on next purchase – valid up to one year.

Use Case 2: If the customer purchases products worth 7000 during the Christmas period. They should receive a different coupon code which gives them flat 750 off on next purchase – valid up to one year.

If I have to achieve this, I was thinking, if I can change the role of the customer on checkout to let’s say LOYAL250 and send email to him with coupon code, this could be achieved.

Is there a way, in your plugin, i can configure to send a coupon from a list of coupons of Woocommerce. Also if it would be great if the coupon is sent on order completion.

Appreciate your help.

Hi,
no unfortunately what you ask cannot be achieved. The plugin hasn’t any feature to automatically create coupon codes according the amount spent.
It can only assign user role according to the amount spent.

Hello,

I recently purchased your plugin, however using it on my site causes the backend to throw a fatal PHP error, preventing renewal/regular payments from being fully processed. I am hoping you might help me investigate this issue, as I have definitely honed it in to this plugin causing it (disabled all and re-enabled until the error began to occur). Please let me know if you would like admin or backend access to the site in order to assist with investigation. Thanks,

Matt B

Hello,

That plugin is working just fine without your plugin activated. When your plugin is activated, that error begins to occur. When your plugin is not activated, subscriptions work as expected and that error does not occur. This leads me to believe the issue at hand has something to do with this plugin, not with Woo’s. Understandably the issue does seem connected to that .php, but if it works just fine without your plugin activated, how could that plugin be at fault?

You shoud contact their support to discover that. I don’t know how that plugin is designed and how it works, so I cannot answer to that question.

is this the script in question: https://github.com/wp-premium/woocommerce-subscriptions/blob/master/includes/class-wc-subscriptions-manager.php ? If so, on line 124 that script is trying to access to a private object of its, the $renewal_order. However I don’t know why it is a boolean instead of an object.

Who designed it should be able to answer. I can just only say that the error is cause by that plugin so, is that code that should be fixed. I cannot implement any code on my scripts to fix other classes private objects, php doesn’t allow that.

Alright, well thank you for the info. I will try to reach out to Woo to see if they can offer some insight on their end. Appreciate your time thank you.

Hello, I have renewed the support. I will need your country and your IP to unlock the access of my hosting. Thank you

Hello

We have installed the plugin and from customer to client silver it changes without problems with the configuration.

Afterwards we have seen that from customer silver to gold customer does not change ..

We are changing manually, but we do not know what that failure is …

What can be??

Thank you

if it the issue depend on a plugin malfunctioning that cannot be fixed, the refound can be granted.
If it is caused by a misconfiguration or a 3rd party plugin/software interference it will not be granted.

Refund will be granted only if actually the plugin has a real bug/malfunctioning that cannot be fixed and denies it to properly work.

Hello, I have renewed the support. I will need your country and your IP to unlock the access of my hosting. Thank you

Hi,
send me a private message (click on my name then use the low-right box). I’ll reply with those info.

Looking at 2 of your plugins. I need one that allows for us to set pricing thresholds where customer adds 4 items to their cart and automatic discount is applied to give them the advertised special on our website. I know you have this plugin and the pricing plugin. Can either of these accomplish this goal for our website.

Hi,
yes to achieve that you can just use the Pricing plugin. Create a pricing rule for which the discount price will be applied if the cart quantity is more than 4.

Before however any purchase, use the demo site:
http://www.codecanyon.eu/wctbp/wp-admin/
user: demo
pass: demo
to be sure that the software actually fits your needs and expectations. If you need any further info, feel free to ask!

Hi There,

I want to send an email notification to specific email address when certain conditions are met (or when the role is changed) instead of sending email to the user.

Can you help and guide me how to do that?

Hoping for your support.

Best regads

Hi,
what do you exactly mean with Certains conditions are met?

If you want to simply send a notification email every time a notification email is sent to the user (or it should be sent):
  1. Edit the WCRA_Customer.php file you find inside the classes\com folder
  2. on line 271 you find the statement that sends the notification to the user. Add at 272 the following statement: $wcra_email_helper->send_email($recipients, $subject, $content);
  3. $recipient is the recipient email string. It can also be a multiple address string like: “tom@email.com, john@email.com, tim@email.com
  4. $subject is the email subject
  5. $content is the email body content
I hope this helps

As we deal in multiple currencies and also different prices for different user roles, we’re wondering if this plugin is able to change roles based on quantity instead of $ amount spent.

Is this possible?

Hi,
What do you exactly mean with “quantity”? The plugin for now allows to assig roles according to money spent on orders during a specific time range.
The “quantity” value which aspect of the order should consider? you mean the number of orders?

I was referring to the quantity of a particular product purchased. i.e. Customer 1 purchases 10 x product 1 and the role changes.

No, unfortunately the plugin has not been designed to work considering order single product quantities. For now it is not possible.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey