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 4 years, 4 months ago by 11mike23.
It will let me reactivate the plug in now but it will not hide any of th shipping methods like it did before
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)