=== RSiliTech Role-Based Discounts ===
Contributors: RSiliTech
Donate link: https://www.paypal.com/paypalme/JoydebChoudhury
Tags: woocommerce, discounts, role-based discount, wholesale, bulk discount
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically apply different discounts to different user roles in WooCommerce. Perfect for wholesale and B2B stores.

== Description ==

# Role-Based Discounts for WooCommerce

**Automatically apply different discounts to different user roles in your WooCommerce store!**

Easily create wholesale pricing, VIP discounts, student discounts, employee pricing, and more - all based on user roles. No coding required, works instantly with WooCommerce.

## 🎯 **Perfect For:**

* **Wholesale/B2B Stores** - Different prices for retailers vs consumers
* **Membership Sites** - Exclusive pricing for members
* **Educational Stores** - Student/teacher discounts
* **Corporate Stores** - Employee discount programs
* **Loyalty Programs** - Rewards for frequent customers
* **Any store needing role-based pricing**

## ✨ **Key Features:**

✅ **Role-Based Discounts** - Different discounts for different user roles  
✅ **Easy Setup** - No coding required, works in minutes  
✅ **Automatic Application** - Discounts apply automatically at checkout  
✅ **WooCommerce Native** - Seamless integration  
✅ **Mobile Responsive** - Works on all devices  
✅ **Lightweight** - Won't slow down your store  

## 🛠️ **How It Works (3 Simple Steps):**

1. **Install & Activate** - Works instantly with WooCommerce
2. **Set Discount Rules** - Assign discount percentages to user roles
3. **Watch It Work** - Users automatically see their discounted prices

## 📋 **Example Use Cases:**

**Wholesale Business:**
* Retailers get 30% discount
* Distributors get 50% discount
* Regular customers pay full price

**Membership Site:**
* Gold members get 40% off
* Silver members get 20% off
* Free members pay full price

**Educational Discounts:**
* Students get 25% off
* Teachers get 30% off
* Schools get 40% bulk discount

## 🔧 **Technical Details:**

* **Requires:** WooCommerce 4.0+
* **Compatible with:** All WordPress themes
* **Performance:** Lightweight, caching-friendly
* **Updates:** Regularly maintained

## 🆓 **Free vs Pro**

**Free Version Includes:**
* Basic role-based percentage discounts
* Works with existing WordPress roles
* Standard support

**[Upgrade to Pro](https://rsilitech.com/rsilitech-simple-pricing/)** for:
* Fixed amount discounts
* Custom role creation
* Individual customer pricing
* Bulk/tiered pricing
* Category-specific discounts
* Priority-based rules
* Advanced display options
* Priority support
* Regular feature updates
Pro [Upgrade to Pro](https://rsilitech.com/rsilitech-simple-pricing/)
---

**Transform your store with intelligent, automated role-based pricing today!**

== Support ==

* Website: https://www.rsilitech.com
* Email: pluginsupport@rsilitech.com
* Support Forum: https://wordpress.org/support/plugin/rsilitech-simple-pricing/

== Installation ==

1. Go to **Plugins → Add New** in WordPress
2. Search for **"Role-Based Discounts"** or **"RSiliTech"**
3. Click **"Install Now"** and then **"Activate"**
4. Navigate to **WooCommerce → Role Pricing**
5. Set your first discount in **60 seconds!**

**Alternative Method:**
1. Upload the `rsilitech-simple-pricing` folder to `/wp-content/plugins/`
2. Activate the plugin through **Plugins → Installed Plugins**
3. Go to **WooCommerce → Role Pricing** to configure discounts

== Frequently Asked Questions ==

= What does this plugin do? =

This plugin allows you to set different discount percentages for different WordPress user roles in your WooCommerce store. Discounts apply automatically when users with those roles visit your store.

= Do I need WooCommerce? =

Yes, this plugin requires WooCommerce to function properly. It will not work without WooCommerce installed and activated.

= Can I create custom roles? =

The free version works with existing WordPress roles (Customer, Subscriber, etc.). Custom role creation (like "Wholesale", "VIP", "Student") is available in the Pro version.

= Do discounts apply automatically? =

Yes! Once you set a discount percentage for a role, it automatically applies when users with that role visit your store, add to cart, and checkout.

= Can I use this with coupon codes? =

Yes, you can choose whether role discounts stack with coupon codes in the settings. You can enable or disable discount stacking.

= Is this compatible with variable products? =

Yes, the plugin works with both simple and variable WooCommerce products.

= How many roles can I set discounts for? =

Unlimited! You can set discounts for any WordPress user role.

= Does this work on mobile devices? =

Yes, the plugin is fully responsive and works on all devices - desktop, tablet, and mobile.

= Is there a money-back guarantee? =

Yes, we offer a 30-day money-back guarantee on the Pro version.

= How do I get support? =

Free version users can use the [WordPress support forum](https://wordpress.org/support/plugin/rsilitech-simple-pricing/). Pro users get priority email support.

== Screenshots ==

1. Admin settings page - Manage role-based discounts
2. Product page - Showing role-specific discounted price
3. Shopping cart - Automatic discount applied at checkout
4. Role management - Add/edit user roles and discounts
5. Mobile view - Responsive design on mobile devices
6. Settings page - Configure discount behavior options


== Changelog ==

= 1.0.0 =
* Initial release of Role-Based Discounts for WooCommerce
* Basic role-based percentage discounts
* Works with existing WordPress roles
* Automatic discount application
* WooCommerce integration
* Admin interface for managing discounts
* Responsive design for all devices

= 1.0.0 =
* Fixed issues

= 1.0.3 =
* Fixed bugs
* UI improvement

= 1.0.4 =
* Fixed escaping issues in settings template
* Fixed missing sanitize_callback on register_setting
* Fixed missing translators comment
* Added direct file access protection to AjaxHandler
* Code improvements and WordPress coding standards


== Upgrade Notice ==

= 1.0.0 =
**New Plugin Name:** "RSiliTech Simple Pricing" is now **"RSiliTech Role-Based Discounts"** to better reflect its functionality.

**Upgrade to Pro for advanced features:**
* Fixed amount discounts (not just percentages)
* Create custom roles (Wholesale, VIP, Student, etc.)
* Individual customer pricing
* Bulk/quantity-based tiered pricing
* Category-specific discount rules
* Priority-based rule system
* Advanced display customization
* Priority support and regular updates


Visit [RSiliTech.com](https://rsilitech.com/pro) to learn more about Pro features.