How to setup for multiple user roles?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #88434
    Kelton Smith


    I need to set different minimum amount for free shipping based on user roles, so everything should work differently for each user role like total amount to enable free shipping and notification messages related to free shipping.

    I could see there is User roles and Amount setting from “Manual min amount” tab of plugin setting page.
    But it seems this amount is only used for notification (xx left for free shipping message), not applied to actual cart amount calculation to apply free shipping.

    Here is the details what I have done for this feature.
    – Set Minimum order amount as $1000 for Free Shipping from Woocommerce > Settings > Shipping tab
    – Set Manual Min Amount as $1000 from Woocommerce > Settings > Amount Left for Free Shipping > Manual min amount
    – Added several user roles to “User roles” element, for example, user role A, user role B.
    – Set user role A amount as $1000, user role B amount as $500.

    Everything is ok with user role A.
    But had problem with user role B.
    Event total cart amount is over $500 for user role B, the free shipping wasn’t applied because Minimum order amount was set as $1000 from Free Shipping setting.
    Btw “xx left for free shipping message”, “you have free delivery message” displayed as expected for user role B.
    So when cart amount is less than $500, the first message displayed and once it is over $500, free delivery message displayed, which is correct.

    Is there a way to overwrite The Minimum order amount set for Free Shipping (Woocommerce > Settings > Shipping tab) with this amount set for each user roles?
    So everything should work for both user role A and user role B?

    I may be misunderstood about plugin setting, I would be very appreciated if you can point me in case anything wrong with my setting.

    Thank you.



    I have not understood what the issue here is, because from your description it seems it is working correctly for both user roles A and B.

    When you use the Manual Min Amount tab and set a manual minimum amount, the setting in Woocommerce > Settings > Shipping tab is automatically ignored. Instead the Manual min amount that you set is used.

    However, please follow these steps to configure the plugin:

    Manual Min Amount > Enable Section
    Manual Min Amount > Extra Options > User roles > Add the user roles A, B and any other ones for which you wish to set a different minimum amount

    Save the settings.

    After you save and reload the page, in the Manual Min Amount tab, you will find a new field for each user role under Manual Min Amount > Extra Options: Amounts Enter the minimum amount here for each user role.

    Please let me know if you continue having trouble with this.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.