Code

Discussion on WooCommerce Role-O-Matic

Discussion on WooCommerce Role-O-Matic

Cart 510 sales

vanquish supports this item

Supported

207 comments found.

Hello, thanks for this great idea. I just bought and installed. Tried everything i can but no update of contact role seems to happen based on products purchases. Every time i click on recompute i get “Done, updated: 0 users” Site is at Kinsta, i can give you my plugin list. Do you need screenshots or anything else ? Thank you Fred

Hi,
thank you for your appreciation.

The issue could be simply related to a misconfiguration or to a 3rd party plugin interference. However, without any further clue, it is quite hard to determine the cause.

If you send me via private message (click on my name and then use the low-right box) the following data:
  1. your email address
  2. full admin access to the wp-admin area
  3. FTP access
  4. report me which user name should be switched to the new role

I can try performing some further tests to see if it is possible to determine the cause. Thank you.

How does support work after purchasing this plugin? Is it just through these comments or is there a support ticket system?

Yes, support is performed through comments.

thanks for the great help, after using this and figuring most of it out, I see no way to set this up to charge recurring. Ex 30 days, charge 19.95 again. Please advise ty

I’m sorry, but the plugin hasn’t any feature to charge recurrently moreny amounts.

It is designed to assing user role according the purchased product or according to amount spent in a given time range.

Hi,

I was wondering if you can provide insight on how I can sell say a $19.95 subscription for s2member role level 1 recurring with your plugin as I read it works but I have no idea how to use it.

thanks,

Michael

Hi Michael,
you can create a “product-role” or a “role-per-amount” that could assign a role “level 1” to which you can eventually associate a subscription.

Note, however, that the plugin hasn’t any specific support for the s2member plugin and its features.

i figured that out :D so far looks good, what about the recurring billing? how would that work with applepay/stripe? ty

Glad to hear that!

It depends on how which actions those plugins trigger when a payment is performed.
If when a payment occurs and they are normally triggering the ‘woocommerce_checkout_process’ or ‘woocommerce_order_status_changed’ the plugin will process the order adding/removing the user roles according to the existing “product-role” or a “role-per-amount” .

Hi there,

For some reason, this plugin is preventing me from processing manual Woocommerce orders. How can I fix this?

Thank you!

It sounds very strange. As you can test by yourself using the demo site, in a full working environment, an order can be created without any issue: https://www.codecanyon.eu/wcra/wp-admin/ (user: demo, pass: demo).

Could you please report me the exact message you are getting? Could you try disabling the other 3rd party plugins and report me if you still get the issue?

Make also sure you are running the latest 7.8 plugin version and the latest version of both WooCommerce and WordPress.

To be more specific. I only get the error message when I apply a coupon to the purchase. The error message says, “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.” I check my email and it says the following:

“Howdy!

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, WooCommerce Role-O-Matic.”

I do have the latest version of the plugin, Wordpress, and Woocommerce.

Thank you for reporting that info, but as you can imagine, it is a generic message that doesn’t add any further clue.

I’ve tried performing some tests in a clean installation, both creating orders from the backend and via frontend applying a coupon, but the issue did not raise.

Few questions: what about the other two questions? Have you tried disabling the other 3rd party plugins? Have you checked if you are running the latest 7.8 version? Are you using any 3rd party plugin to manage coupons?

If none of above helped, 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 peforming some further analisys to tro to understand the cause of the issue and fix it. Thank you.

I purchased and installed and registered/activated your plugin a while ago but just deactivated the plugin from that site, which I never launched, because my developer was unable to get it to work with the theme.

I have a new developer with a better theme and nstalled it on a new domain.

The license said I can use the plugin on 2 domains. Since, I never used the plugin on the 1st domain, hopefully I can still install the plugin on a 2nd site when I’m completed with this one.

Please let me know if I am correct. Thanks

Please download the latest 7.7 plugin version from CodeCanyon, it no longer requires the domain activation.

OK, thanks. Where do I download it from?

You can redownload from the CodeCanyon plugin page!

P.S.
if you enjoyed 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).

Hello, I love your plugin, but now I get big error. Please help me

The error code is

Warning: timezone_open(): Unknown or bad timezone () in /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Cron.php on line 24

Warning: date_create() expects parameter 2 to be DateTimeZone, boolean given in /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Cron.php on line 24

Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Cron.php:32 Stack trace: #0 /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-includes/class-wp-hook.php(286): wrca_scheduled_role_assignment_computation_activation(’’) #1 /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-settings.php(546): do_action(‘wp_loaded’) #4 /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-config.php(100): require_once(’/home/nettobijd…’) #5 /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-load.php(37): require_once(’/home/nettobijd…’) #6 /home/nettobijdra in /home/nettobijdrage/domains/beheer.nettobijdrage.nl/public_html/wp-content/plugins/woocommerce-role-by-amount-spent/classes/com/WCRA_Cron.php on line 32

What to do to resolve this problem?

Best regards,

Jeroen

Hi Jeroen, Thank you for your appreciation.

It sounds strange that the timezone_open() returns that error. More in specific, that function retrieves your current wordpress timezone setting in order to schedule a task related to the user role computation.

Which is the your current time zone configured thro the Settings -> General -> Timezone: https://www.dropbox.com/s/n4aykwdsncnvuls/wcra_timezone.jpg?dl=0 ?

Would be possible to have and admin access and FTP access to your site?

Thank you.

Hi I used your demo. I think I need your plugin – do you have documentation I can read please? I don’t understand of the field descriptions – for example what does remove roles before applying new ones? and exclude roles etc see the screenshot I don’t understand. https://www.dropbox.com/s/2gcrsmf0lg8lody/Screenshot%202019-09-28%2015.32.59.png?dl=0

Hi,
the only documentation available can be found in the plugin description page.

For what concerns the role removal option, as you can read from its option, it can remove all the current roles associated with the user or just the ones you select: https://www.dropbox.com/s/uqo5fus10kja9sy/wcra_role_removal.jpg?dl=0

thanks is there a reason why you need to remove the current role, does the new role not overwrite thanks

The new role by default will be added to the current user roles. If you wish to remove all the old roles, you need to select the Yes option.

Your plugin looks promising! I have 2 pre-sales questions:

1) I read in a comment from a few years ago that the WordPress user profile page only allows 1 user role and that extra roles are deleted when I click save. Is this still the case? You recommend to install the Multiple Roles plugin to prevent this, but this plugin isn’t updated in years. I think you should incorporate this functionality in your own plugin as it is essential. But maybe you already did?

2) Is it possible to bulk edit existing users to add new user roles? In the demo site I wasn’t able to do that.

Hi,
  1. I’m sorry, but the plugin hasn’t any feature to manually assign multiple roles to an user. However there are several 3rd party plugins that allows you to do that. For example, the “User Role Editor” or “WPFront User Role Editor”.
  2. I’m sorry, the plugin hasn’t such a feature :(

Thanks for your quick reply!

I already tested User Role Editor and it seems that plugin covers both 1) and 2)... ;)

BTW, 1) was not about manually assigning multiple roles to a user. It was about not deleting multiple roles already assigned.

yes, that plugin should do the job!! :)

We have an elaborate setup with 20 amount rules. All setup to be used within the last 100 years.

When we use the roles re-calculator, it is not giving everyone the proper roles.

Maybe it has to do with the order in which the roles are? We have rules that remove the last role so that the new one can be applied. So nobody can have more than one role. We have roles going up and down so users can move up roles, but then move down roles if their order is canceled later (or refunded).

Here are our roles and configurations:

  • Customer – spend 1-14.99
  • Bronze – spend 15-249.99
  • Silver – spend 250-699.99
  • Gold – spend 700-1999.99
  • Diamond – spend 2000-500000

All roles are set with timeframe to be – last 100 years.

All roles are set to remove the last role before assigning the new one.

Here are our amount rules in order:

  1. customer to bronze
  2. customer to silver
  3. customer to gold
  4. customer to diamond
  5. bronze to customer
  6. bronze to silver
  7. bronze to gold
  8. bronze to diamond
  9. silver to customer
  10. silver to bronze
  11. silver to gold
  12. silver diamond
  13. gold to customer
  14. gold to bronze
  15. gold to silver
  16. gold to diamond
  17. diamond to customer
  18. diamond to bronze
  19. diamond to silver
  20. diamond to gold

Is there a reason why my roles are not showing correctly? Do you see anything?

Please email as soon as possible.

I’m sorry, but without any further clue it is quite hard to determine the cause.

Maybe you created too many rules that are interfering one another. Why exactly create 20 rules? Could you just create 5 rules using the “Remove old role(s) before assign the new one” option?

I switched it to 5 like you said and ran the relalculator again. But it wouldn’t update anything. 0 roles updated. What is your email?

Check your inbox

Hi there, I’m using Role-O-Matic, and would like to know if there’s any news on this topic below.

Does Role-O-Matic support memberships now? Will it conflict if I use WooCommerce Memberships?

My main purpose of using Role-O-Matic with Memberships, is to be able to revoke user roles if a membership expires or it is cancelled.

Best Carsten

You wrote: ‘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: your email address 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.’

Hi,
I’m sorry but but it was not possible to extend the plugin in order to add those features :(

Thanks for the answer, what happens if I use the plugin with Memberships, the user roles will not be revoked? What about in combination with Subscriptions, will the user roles be assigned according to the settings in Role-O-Matic, if a subscription and automatic reneval has been set to expire?

Exactly, user role won’t be revoked.

For what concerns Subscriptions, you can read more in the WooCommerce Subscription paragraph in the plugin page. In case an order is renewed or resubscribed, the plugin will renew the roles according to the product-roles associated with that order.

hi, i already have your plugin (through envato elements) and i need to know what happens in the following scenario: - let say i have A, B and C. For each product i have a role A, B and C, so when they buy one product a role is assigned.

So client purchases product A and gets role A. all good. But what if the client purchases A and B? or A and C? or B and C?

does it mean i have to create a role for each possible combination? Thanks

Hi,
I’m sorry, to request support you need to have a valid support license. Support license can be acquired by purchasing the plugin via CodeCanyon.

Remove old role: But, the role is just cancelled form user (user can have more roles) or deleted from all role list in wp? Sorry for stupid question, but i want understand well..Thank you..

Si sono italiano :)

Purtroppo il servizio di supporto non include un servizio di configurazione, tuttavia se mi riporti quali altre opzioni sono poco chiari, vedrò di spiegarti meglio :)

P. S.
visto che sei italiano, ti chiederei un favore: potresti lasciare le 5 stelle al plugin? mi aiuterebbe con le vendite! (puoi lasciare il voto direttamente nella pagina del plugin o attraverso la sezione “Download”).

Grazie!

Fatto e molto volentieri… Anche se non l’avessi chiesto lo avrei fatto di certo comunque perché il tuo software e davvero spettacolare e vale ogni centesimo speso! Ti ringrazio, se devo pagare qualcosa per la configurazione non è un problema, però vorrei scriverti in privato, è possibile?

Grazie mille! :)
Purtroppo non offro un servizio di configurazione :(

Per contattarmi in privato clicca sul mio nome e quindi usa il box in basso a destra riportando la tua email. Ti contatterò con la mia email privata!

I have a question. Are these Wordpress Roles i can use in other Plugins like Shipping Plugins to assing free shipping to a specific role ?

I have a plugin wich can give a specific role free shipping.

I now want to sell a virtuell product (Membership) wich grant the user the VIP role for 1 year. This role should get free shipping then.

Hi,
the plugin creates standard user roles (https://wordpress.org/support/article/roles-and-capabilities/ ) that are visible to all.

So you should be able to use those roles even in other plugins.

Role-O-Matic plugin has an issue with learndash. When a quiz question is saved on learndash, an extra \ is inserted into an external url, for some unknown reason. (e.g. www.external.com > after saving > \www.external.com, which in turn becomes https://home.com/www.external.com).

Hi,
as you can imagine, as any further clue, it is quite hard to determine the cause.

Which test did you perform to identify the Role-O-Matic as the cause? Could you provide a more detailed description? Could you try eventually update to the latest 7.7 version?

For further support however you need to renew your support license. Once done, 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 performing some further test to se IF it is possible to determine the cause of the issue and see IF any fix/workaround is possible.

i disabled all the plugins one by one and narrow the cause down.

And what about the update?

For further support, please proceed to the support license renewal. Once done, send me the data I’ve requested and I’ll see what it is possible.

Hi,

The demo does not works anymore.

Serge

Hi, This is not a server problem or ftp program : 100 files /classes/acf/lang are blocked. I disabled all plugins except woo-commerce and the problem persist. Can i give you an admin access?

Are “blocked” by who exactly? The upload process doesn’t depend on the plugin code functions, they are not even executed during the upload process. FTP upload process exclusively depends on the FTP upload application and the FTP server process that runs in your web hosting. What do you exactly mean that it doesn’t depend on a server problem or FTP program? Could you provide a more detailed explanation?

Find who “blocks” that upload process and fix it. This may depend on the FTP upload program you are using or by a server issue or due to a security module. Try eventually installing the plugin via the Plugins menu voice you find in the admin area.

Have you tried contacting your server maintainer reporting this upload process issue?

Ooops sorry, the server is empty!

when a customer match with a rule, then their role will only change in 24 hours or specific time, is it possible?

Role recoputation is performed every time:
  1. The user places an order
  2. You manually update any order of his in the admin area
  3. Using the automatic recomptation tool
  4. Using the manual recoputation tool accessible through the Roles re-calculator menu

Hello!

Can you help me in private? I made 3 role and would like to put my costumers to these roles by the amount they’ve spent.

I have tried to do it several times but it doesn’t do that i want.

I would like to send you my detailed problem prvately, and woud like to solve this issue.

Regards, Jennifer

Hi Jennifer,
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 description of the issue
I’ll try investigating further. Thank you.

Thank you, message sent!

Got it, check your inbox

Hi Vanquish, Just wondering if there is any chance to have the same setup for Product Configurator as it is in the Amount Configurator? I need to be able to setup multiple role upgraders based on categories purchased,

ie customer bought 12 bottles of wine in the Seasonal Category so upgrade to the role Seasonal.

Let me know how I might be able to achieve the above in the current setup or if possible to allow category over the amount in the system.

Regards Pixel

Hi Pixel,
what do you mean to have the same setup for product configurator as it is in the amount configurator? Could you provide a detailed description?

For now, the Amount configurator allows you to specific products and categories. If the user spent the amount only for those items, then the role will be assigned: https://www.dropbox.com/s/rca4wk0b6iixo1e/wcra_amount_2.jpg?dl=0

In your case, the products could be those bottles of wine.

Hello,

I’m currently developing a site with woocommerce Subscriptions. With your plugin : - When a subscription end or if the user unsubscribe, is the role removed automatically ?

Thank you

Hi,
I’m sorry but the plugin hasn’t such a feature :(

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