Add additional services system (v0.5.0)
All checks were successful
Create Release Package / build-release (push) Successful in 1m0s

- Service CPT with pricing types: Included, Per Booking, Per Night
- ServiceCategory taxonomy with default categories
- Booking-services integration with service selector
- Real-time price calculation based on nights and quantity
- Services total and grand total display in booking admin

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 15:19:56 +01:00
parent aab3a4d1aa
commit 05f24fdec7
10 changed files with 1684 additions and 46 deletions

40
PLAN.md
View File

@@ -84,37 +84,37 @@ This document outlines the implementation plan for the WP BnB Management plugin.
- [x] Email notifications
- [x] Booking confirmation
## Phase 4: Guest Management (v0.4.0)
## Phase 4: Guest Management (v0.4.0) - Complete
### Custom Post Type: Guests
- [ ] Personal information (name, email, phone)
- [ ] Address fields
- [ ] ID/Passport information
- [ ] Booking history reference
- [ ] Notes and preferences
- [x] Personal information (name, email, phone)
- [x] Address fields
- [x] ID/Passport information
- [x] Booking history reference
- [x] Notes and preferences
### Privacy & Compliance
- [ ] GDPR compliance features
- [ ] Data export functionality
- [ ] Data deletion on request
- [ ] Consent tracking
- [x] GDPR compliance features
- [x] Data export functionality
- [x] Data deletion on request
- [x] Consent tracking
## Phase 5: Additional Services (v0.5.0)
## Phase 5: Additional Services (v0.5.0) - Complete
### Service Options
- [ ] Custom Post Type: Services
- [ ] Price per service (or included)
- [ ] Per-booking or per-night pricing
- [ ] Service categories
- [x] Custom Post Type: Services
- [x] Price per service (or included)
- [x] Per-booking or per-night pricing
- [x] Service categories
### Booking Services
- [ ] Service selection during booking
- [ ] Automatic price calculation
- [ ] Service summary display
- [x] Service selection during booking
- [x] Automatic price calculation
- [x] Service summary display
## Phase 6: Frontend Features (v0.6.0)
@@ -291,8 +291,8 @@ The plugin will provide extensive hooks for customization:
| 0.1.0 | Data structures | Complete |
| 0.2.0 | Pricing | Complete |
| 0.3.0 | Bookings | Complete |
| 0.4.0 | Guests | TBD |
| 0.5.0 | Services | TBD |
| 0.4.0 | Guests | Complete |
| 0.5.0 | Services | Complete |
| 0.6.0 | Frontend | TBD |
| 0.7.0 | CF7 Integration | TBD |
| 0.8.0 | Dashboard | TBD |