Hi @11mike23
Thanks for reaching us. We sincerely apologies for the inconvenience. Can you please share some details like.
1. WordPress version
2. WooCommerce version
3. PHP Version
4. Error log information
WordPress version 5.9
Current theme: Twenty Twenty (version 1.9)
Current plugin: User role based shipping methods (version 2.0.0)
PHP version 7.3.30
Error Details
=============
An error of type E_PARSE was caused in line 10 of the file /var/www/wp-content/plugins/user-role-based-shipping-method/includes/common/PvalleyDropdownOptions.php. Error message: syntax error, unexpected ‘string’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Hi @11mike23
We have fixed the issue, and released the fix. Please check it out.
If you like our plugin & support, Please rate us our plugin.
Thanks & Regards
It will let me reactivate the plug in now but it will not hide any of th shipping methods like it did before
Hi @11mike23
Once you activate the plugin, please change the address (postal code) on cart/ checkout to recalculate the shipping cost, otherwise shipping cost will be shown from caching.
Let me know if you still face the issue.
Thanks & Regards
I have done this several way and done several test and if I run multiple shipping rules only the first one will work I have tried to set three rules whatever is in the first one will work the other two will not I can swap them around and only the one at the top is working before the 2.0 update you could use multiple rules now I cant
-
This reply was modified 1 year, 1 month ago by
11mike23.
Hi @11mike23
It takes first rule that satisfy the criteria. In this plugin if rule satisfy the criteria (user role, country) then that rule will be processed and skip all others. It’s working in this manner only from initial itself, however since it’s rule dependent on role and country. You can combine those rule with same role and country, and put the shipping method values separated by semi colon (;) in single rule.
There is an image in plugin page that explains how to configure multiple shipping method for same role and destination.
Image Url – https://ps.w.org/user-role-based-shipping-method/assets/screenshot-5.png?rev=2675920
Also you can test older version, if you think it was working differently it’s always available in https://wordpress.org/plugins/user-role-based-shipping-method/advanced/
Thanks
Hi @11mike23
Hope everything working fine.
If you like our plugin and support you received. Please provide your feedback by rating our plugin.
Thanks