• Resolved Laneige90

    (@laneige90)


    Hi there.

    Your plugin is great, but I was wondering… is it possible using either the free or advanced plugin to set up a shipping rule based on the user’s role? If so, how can I achieve this?

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Laneige90

    (@laneige90)

    Any thoughts on this?

    Plugin Author Open Tools

    (@opentools)

    Dear Leneige90,
    In the advanced version of the plugin there is the UserRoles variable (a list of all user roles), which can be used to differentiate between user roles. For example, to give free shipping to administrators, simply prepend one of the following (equivalent) rules to your ruleset:
    Name="Free shipping for Admins"; "administrator" in UserRoles; Shipping=0
    or
    Name="Free shipping for Admins"; Condition=contains_any(UserRoles, "administrator"); Shipping=0

    Best regards,
    Reinhold

    Thread Starter Laneige90

    (@laneige90)

    Excellent, Thank you!

    George

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘User role based rule’ is closed to new replies.