Support » Plugin: ELEX WooCommerce Role Based Pricing » Only Primary Role Considered for Global Price Adjustment

  • Resolved joshuanan


    I’ve noticed that only the primary user role is considered when determining if a user should be granted a certain price adjustment from the global price adjustment settings. In most cases this is fine, but in some cases (such as with the use of the WPFront User Role Editor plugin) a user may have multiple roles, not just one.

    The solution shouldn’t be too complicated to implement. Rather than only considering the first role of a user, the plugin should be looping through all the roles of a user to see if any of them matches the requirements for a price adjustment. Of those that do match (if any), the price adjustment that has the highest precedence should control the pricing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter joshuanan


    As a side note, this should help ensure this plugin plays well alongside other plugins as well, and could resolve multiple issues with integration.

    Plugin Author ELEXtensions


    Hello @joshuanan,

    Thanks for suggesting this feature. Our team will check the feasibility to include the feature as a part of the product.

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