# Quick Start - Coupon Seeder

## 🚀 Run the Seeder

```bash
php artisan db:seed --class=CouponSeeder
```

## ✅ Expected Output

```
✓ Created 2 general coupons (1 percentage + 1 fixed)
✓ Created 2 vendor coupons for Store Name (1 percentage + 1 fixed)
✓ Created 2 category coupons for Electronics (1 percentage + 1 fixed)
✓ Created 2 brand coupons for Samsung (1 percentage + 1 fixed)
✓ Created 2 first order coupons (1 percentage + 1 fixed)
✅ Coupon seeder completed successfully!
📊 Total coupons created: 10 (5 percentage + 5 fixed)
```

## 📋 Created Coupon Codes

| Code | Type | Discount | Apply On |
|------|------|----------|----------|
| SAVE20 | Percentage | 20% | General |
| FLAT50 | Fixed | 50 SAR | General |
| VENDOR15 | Percentage | 15% | Vendor |
| VENDOR30 | Fixed | 30 SAR | Vendor |
| CATEGORY25 | Percentage | 25% | Category |
| CATEGORY40 | Fixed | 40 SAR | Category |
| BRAND30 | Percentage | 30% | Brand |
| BRAND60 | Fixed | 60 SAR | Brand |
| WELCOME10 | Percentage | 10% | First Order |
| FIRSTORDER25 | Fixed | 25 SAR | First Order |

## 🧪 Quick Test

### Test General Coupon
```bash
# Use code: SAVE20
# Should work with any products
```

### Test Vendor Coupon
```bash
# Use code: VENDOR15
# All cart items must be from the same vendor
```

### Test First Order Coupon
```bash
# Use code: WELCOME10
# Only works for users with no previous orders
```

## 📚 Full Documentation

See `COUPON_SEEDER_GUIDE.md` for complete details.
