{"id":162645,"date":"2022-11-18T16:42:35","date_gmt":"2022-11-18T16:42:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/role-rules\/"},"modified":"2026-03-31T20:54:28","modified_gmt":"2026-03-31T20:54:28","slug":"product-role-rules","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/product-role-rules\/","author":17550696,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"5.0.1","stable_tag":"5.0.1","tested":"6.9.4","requires":"4.9","requires_php":"7.0","requires_plugins":null,"header_name":"Role Based Pricing for WooCommerce","header_author":"WebFix Lab","header_description":"A truly lightweight WooCommerce plugin to set custom rules, price based on role.","assets_banners_color":"7523ba","last_updated":"2026-03-31 20:54:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/webfixlab.com\/plugins\/simple-variation-swatches\/","header_author_uri":"https:\/\/webfixlab.com\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4486,"num_ratings":3,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.5":{"tag":"2.0.5","author":"webfixlab","date":"2023-10-19 17:05:43"},"3.0.3":{"tag":"3.0.3","author":"webfixlab","date":"2024-08-14 06:01:09"},"4.0.1":{"tag":"4.0.1","author":"webfixlab","date":"2024-08-14 06:06:09"},"4.1.0":{"tag":"4.1.0","author":"webfixlab","date":"2025-05-06 09:07:53"},"4.2.0":{"tag":"4.2.0","author":"webfixlab","date":"2025-10-23 04:56:59"},"4.2.1":{"tag":"4.2.1","author":"webfixlab","date":"2025-12-08 13:50:26"},"4.2.2":{"tag":"4.2.2","author":"webfixlab","date":"2025-12-10 05:08:47"},"5.0.0":{"tag":"5.0.0","author":"webfixlab","date":"2026-03-27 03:00:38"},"5.0.1":{"tag":"5.0.1","author":"webfixlab","date":"2026-03-31 20:54:28"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":2915777,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3010752,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.5","3.0.3","4.0.1","4.1.0","4.2.0","4.2.1","4.2.2","5.0.0","5.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3383053,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3496003,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3496003,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3496003,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3496003,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3496003,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3496003,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Discount option for products","2":"Discount text on shop page","3":"Custom price text and removed add to cart buttons on shop page","4":"Global and product role settings","5":"Quantity limit error notice with disabled checkout button (Pro)","6":"Discount tiers and flas sale notice (Pro)","7":"Delete custom user role (Pro)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[15963,13760,146113,139401,65073],"plugin_category":[],"plugin_contributors":[176489,176488,176490],"plugin_business_model":[],"class_list":["post-162645","plugin","type-plugin","status-publish","hentry","plugin_tags-dynamic-pricing","plugin_tags-hide-price","plugin_tags-prices-by-user-role","plugin_tags-role-based-pricing","plugin_tags-wholesale-pricing","plugin_contributors-aikya","plugin_contributors-smshahriar","plugin_contributors-webfixlab","plugin_committers-webfixlab"],"banners":{"banner":"https:\/\/ps.w.org\/product-role-rules\/assets\/banner-772x250.png?rev=3010752","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/product-role-rules\/assets\/icon-128x128.gif?rev=2915777","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-1.png?rev=3383053","caption":"Discount option for products"},{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-2.png?rev=3496003","caption":"Discount text on shop page"},{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-3.png?rev=3496003","caption":"Custom price text and removed add to cart buttons on shop page"},{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-4.png?rev=3496003","caption":"Global and product role settings"},{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-5.png?rev=3496003","caption":"Quantity limit error notice with disabled checkout button (Pro)"},{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-6.png?rev=3496003","caption":"Discount tiers and flas sale notice (Pro)"},{"src":"https:\/\/ps.w.org\/product-role-rules\/assets\/screenshot-7.png?rev=3496003","caption":"Delete custom user role (Pro)"}],"raw_content":"<!--section=description-->\n<p>Easiest way to provide discounts to your customers. Manage all role based discounts from one place. EASY to use and super FAST WooCommerce product role based pricing solution to add different prices for different roles. Great for accessories, restaurant or any WooCommerce shops, great for increase conversions.<\/p>\n\n<p>Role Based Pricing is a truly lightweight and simple yet powerful plugin without any unnecessary features, no huss fuss or no low page speed score!<\/p>\n\n<p><strong>FEATURES<\/strong><\/p>\n\n<ul>\n<li>New! Discount process update<\/li>\n<li>Set <strong>custom discount rules<\/strong> for any user role and <strong>visitors<\/strong><\/li>\n<li><strong>Hide price<\/strong> or <strong>show custom message<\/strong><\/li>\n<li>Automatic hide <strong>add to cart button<\/strong> or <strong>remove product<\/strong><\/li>\n<li>Add <strong>new user role<\/strong><\/li>\n<li><strong>Global<\/strong> and <strong>product<\/strong> specific settings available<\/li>\n<li>Discounts by multiple categories<\/li>\n<li>Discount by product type<\/li>\n<li>Simple, variable and grouped products support<\/li>\n<li><strong>Block themes support<\/strong><\/li>\n<li>Custom themes like Avada, Astra, Bricks, Divi supported<\/li>\n<li><strong>Translation ready<\/strong> - you can translate the plugin using Loco Translate, TranslatePress plugins<\/li>\n<\/ul>\n\n<p><strong>SEE THE DEMO<\/strong><\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=xytsfBndYoA<\/p>\n\n<p><strong>PRO<\/strong><\/p>\n\n<ul>\n<li><strong>Purchase limit<\/strong> - set <strong>minimum and maximum quantity<\/strong> limit<\/li>\n<li><strong>Discount tiers<\/strong> - discount range based on quantity and product total<\/li>\n<li><strong>Schedule based discount<\/strong> - set discount for a specific time<\/li>\n<li>Delete custom user roles<\/li>\n<li>Additional settings to control cart<\/li>\n<li>Flash sale notice based on schedule<\/li>\n<li>Improved discount tiers view<\/li>\n<li>Cart quantity limit warning notice<\/li>\n<li>Dynamically remove items from the cart if price is hidden - <strong><a href=\"https:\/\/webfixlab.com\/plugins\/role-based-pricing-woocommerce\/\">Get PRO<\/a><\/strong><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder \"product-role-rules\" to the <code>\/wp-content\/plugins\/<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Go to options page in the left menu bar of the dashboard <strong>Role Pricing<\/strong><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20can%20i%20set%20the%20price%20for%20different%20roles%3F\"><h3>How can I set the price for different roles?<\/h3><\/dt>\n<dd><p>Go to options page in the left menu bar of the dashboard <strong>Role Pricing<\/strong> and set your prices for each user roles.<\/p><\/dd>\n<dt id=\"will%20it%20work%20on%20any%20theme%20or%20page%20builder%3F\"><h3>Will it work on any theme or page builder?<\/h3><\/dt>\n<dd><p>Yes, it will work fine on any standard theme or page builder like Gutenberg, Elementor, DIVI, WPBakery Composer etc.<\/p><\/dd>\n<dt id=\"where%20can%20i%20get%20support%3F\"><h3>Where can I get support?<\/h3><\/dt>\n<dd><p>Please <a href=\"https:\/\/webfixlab.com\/contact\/\">contact here<\/a>.<\/p><\/dd>\n<dt id=\"do%20you%20support%20customizations%3F\"><h3>Do you support customizations?<\/h3><\/dt>\n<dd><p>Yes, just send your <a href=\"https:\/\/webfixlab.com\/contact\/\">request here<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>5.0.1 2026-04-01<\/h4>\n\n<p><strong>Product Role Rules<\/strong><\/p>\n\n<ul>\n<li>Fix    - Update button not working when editing product issue.<\/li>\n<li>Fix    - Add to cart button not removed when price is hidden issue.<\/li>\n<\/ul>\n\n<h4>4.0.1 2026-04-01<\/h4>\n\n<p><strong>Product Role Rules Premium<\/strong><\/p>\n\n<ul>\n<li>Update - Flash sale notice redesign.<\/li>\n<li>Fix    - Missing domain name for translating strings.<\/li>\n<\/ul>\n\n<h4>5.0.0 2026-03-18<\/h4>\n\n<p><strong>Product Role Rules<\/strong><\/p>\n\n<ul>\n<li>Update - Cart price handler class.<\/li>\n<li>Update - Removed settings cache.<\/li>\n<li>Update - New price class added.<\/li>\n<li>Update - Price functions on both product and cart handler.<\/li>\n<li>Fix    - Discounted variable price not working correctly.<\/li>\n<\/ul>\n\n<h4>4.0.0 2026-03-18<\/h4>\n\n<p><strong>Product Role Rules Premium<\/strong><\/p>\n\n<ul>\n<li>Update - Only product specific settings applying to those products only<\/li>\n<li>Update - New loading spinner added to process cart actions<\/li>\n<li>Fix    - Cart item remove event not triggering issue<\/li>\n<li>Update - AJAX quantity limit notice added<\/li>\n<li>Update - New quantity limit class added<\/li>\n<li>Update - New sale notice class added<\/li>\n<li>Fix    - Discount tiers apply to all products<\/li>\n<li>Update - Reduced discount tier table and list width<\/li>\n<li>Update - Removed discount tier bullet SVG icon<\/li>\n<li>Update - Only showing minimum value of a discount tier<\/li>\n<\/ul>","raw_excerpt":"EASY to use and super FAST WooCommerce product role based pricing solution to add different prices for different roles.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/162645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=162645"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webfixlab"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=162645"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=162645"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=162645"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=162645"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=162645"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=162645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}