Hotel Raxa Dev 8bd12173b5 Hotel Raxa - Advanced Booking System Implementation
🏨 Hotel Booking Enhancements:
- Implemented Eagle Booking Advanced Pricing add-on
- Added Booking.com-style rate management system
- Created professional calendar interface for pricing
- Integrated deals and discounts functionality

💰 Advanced Pricing Features:
- Dynamic pricing models (per room, per person, per adult)
- Base rates, adult rates, and child rates management
- Length of stay discounts and early bird deals
- Mobile rates and secret deals implementation
- Seasonal promotions and flash sales

📅 Availability Management:
- Real-time availability tracking
- Stop sell and restriction controls
- Closed to arrival/departure functionality
- Minimum/maximum stay requirements
- Automatic sold-out management

💳 Payment Integration:
- Maintained Redsys payment gateway integration
- Seamless integration with existing Eagle Booking
- No modifications to core Eagle Booking plugin

🛠️ Technical Implementation:
- Custom database tables for advanced pricing
- WordPress hooks and filters integration
- AJAX-powered admin interface
- Data migration from existing Eagle Booking
- Professional calendar view for revenue management

📊 Admin Interface:
- Booking.com-style management dashboard
- Visual rate and availability calendar
- Bulk operations for date ranges
- Statistics and analytics dashboard
- Modal dialogs for quick editing

🔧 Code Quality:
- WordPress coding standards compliance
- Secure database operations with prepared statements
- Proper input validation and sanitization
- Error handling and logging
- Responsive admin interface

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 14:44:06 +02:00

Hotel Raxa - Advanced Booking System

A comprehensive WordPress-based hotel booking website with advanced pricing, payment processing, and revenue management capabilities.

🏨 Project Overview

Hotel Raxa is a modern hotel booking system built on WordPress, featuring a sophisticated booking engine with Booking.com-style pricing management, multiple payment options, and comprehensive guest services.

Key Features

  • Advanced Booking System - Eagle Booking plugin with custom pricing engine
  • Revenue Management - Professional calendar interface for pricing and availability
  • Payment Processing - Redsys gateway integration with preauthorization support
  • Tax Management - Built-in VAT and tourist tax calculations
  • Multi-language Support - Spanish (Español) interface
  • Responsive Design - Mobile-optimized booking experience

🛠 Technical Stack

WordPress Core

  • Version: Latest WordPress installation
  • Database: MySQL with custom booking tables
  • PHP Version: 7.4+ recommended

Themes

  • Main Theme: Himara (Hotel-specific theme)
  • Child Theme: himara-child (Custom modifications)
  • Page Builder: Elementor Pro

Core Plugins

Booking System

  • Eagle Booking - Main reservation system
  • Eagle Booking Advanced Pricing - Booking.com-style pricing management
  • Eagle Core - Theme integration functionality

Payment Processing

  • Informatiq EB Redsys - Spanish payment gateway integration
  • Features: Credit card processing, preauthorization, payment requests

Content Management

  • Elementor Pro - Advanced page layouts
  • Contact Form 7 - Guest inquiry forms
  • Revolution Slider - Image galleries and promotional content

Maintenance

  • Under Construction - Site maintenance mode

📊 Database Structure

Core Tables

wp_eagle_booking           - Main booking records
wp_eagle_booking_meta      - Extended booking metadata
wp_eb_ap_rates            - Daily pricing data
wp_eb_ap_availability     - Room availability and restrictions
wp_eb_ap_deals            - Promotional deals and discounts
wp_eb_ap_restrictions     - Additional booking rules

Configuration

  • Database Name: sql_hotelraxa_co
  • Table Prefix: dfgergeww323_
  • Host: localhost

🎯 Booking Features

Advanced Pricing System

  • Dynamic Rates: Per room, per person, per adult pricing models
  • Seasonal Pricing: Automatic rate adjustments
  • Length of Stay Discounts: Configurable multi-night discounts
  • Early Bird Deals: Advance booking incentives
  • Mobile Rates: App-specific pricing
  • Secret Deals: Exclusive promotional rates

Availability Management

  • Real-time Availability: Live room status tracking
  • Stop Sell Controls: Inventory management
  • Arrival/Departure Restrictions: Flexible check-in rules
  • Minimum/Maximum Stay: Configurable length requirements
  • Closed to Arrival/Departure: Advanced restriction controls

Payment Processing

  • Multiple Payment Methods: Credit cards, bank transfers
  • Preauthorization: Hold reservations without immediate charge
  • Payment Requests: Send secure payment links to guests
  • Partial Payments: Deposit and balance workflows
  • VAT Integration: Automatic 10% VAT calculation
  • Tourist Tax: €2.20 per person per day calculation

💳 Tax Configuration

VAT (10%)

The system includes automatic 10% VAT calculation on all bookings:

  • Configuration: Eagle Booking → Taxes & Fees
  • Application: Global tax applied to all rooms and services
  • Display: "Including 10% VAT" shown on booking pages

Tourist Tax

Automatic calculation of tourist tax:

  • Rate: €2.20 per person per day
  • Application: Applied to all adult guests
  • Collection: Separate from room charges

🔧 Development Setup

Local Environment

# Clone repository
git clone https://devops.cloudhost.es/CloudHost/HotelRaxa.git

# Configure WordPress
cp wp-config-sample.php wp-config.php
# Edit database credentials in wp-config.php

# Set file permissions
chmod 755 wp-content/
chmod 644 wp-config.php

Plugin Configuration

Eagle Booking Setup

  1. Navigate to Eagle Booking → Settings
  2. Configure room types and pricing
  3. Set up taxes and fees (VAT: 10%)
  4. Configure booking forms and workflows

Redsys Payment Setup

  1. Access Eagle Booking → Payment Methods → Redsys
  2. Configure merchant credentials:
    • Merchant Code (FUC)
    • Terminal Number
    • Encryption Key
  3. Enable test mode for development

Advanced Pricing Configuration

  1. Access Eagle Booking → Advanced Pricing
  2. Set up base rates and seasonal adjustments
  3. Configure deals and restrictions
  4. Use calendar interface for daily rate management

📁 File Structure

hotelraxa.com/
├── wp-content/
│   ├── themes/
│   │   ├── himara/                    # Main hotel theme
│   │   └── himara-child/              # Custom modifications
│   ├── plugins/
│   │   ├── eagle-booking/             # Core booking system
│   │   ├── eagle-booking-advanced-pricing/  # Pricing engine
│   │   ├── informatiq-eb-redsys/     # Payment gateway
│   │   ├── elementor/                 # Page builder
│   │   ├── contact-form-7/            # Contact forms
│   │   └── revslider/                 # Image sliders
│   └── uploads/                       # Media files
├── wp-admin/                          # WordPress admin
├── wp-includes/                       # WordPress core
├── CLAUDE.md                          # Development guidelines
├── DEPLOYMENT_SUMMARY.md              # Deployment documentation
└── README.md                          # This file

🚀 Deployment

Automated Deployment

The project includes an automated deployment script:

# Deploy changes to production
./deploy.sh

Manual Deployment

# Add changes
git add .

# Commit with descriptive message
git commit -m "Feature: Description of changes"

# Push to repository
git push origin main

📞 Admin Access

WordPress Admin

  • URL: /wp-admin/
  • Login: /wp-login.php

Booking Management

  • Dashboard: Eagle Booking → Dashboard
  • Reservations: Eagle Booking → Bookings
  • Pricing: Eagle Booking → Advanced Pricing
  • Payments: Eagle Booking → Payment Methods

Content Management

  • Pages: Elementor-powered layouts
  • Forms: Contact Form 7 management
  • Media: Revolution Slider galleries

🔒 Security Features

Data Protection

  • Database credentials excluded from repository
  • Sensitive files in .gitignore
  • Secure payment processing with Redsys
  • Input validation and sanitization

Backup Strategy

  • Regular database backups
  • File system backups
  • Version control with Git

🌐 Multi-language Support

Spanish (Español)

  • Full interface translation
  • Currency formatting (EUR)
  • Date and time localization
  • Payment gateway localization

📈 Analytics & Reporting

Booking Analytics

  • Revenue tracking
  • Occupancy rates
  • Guest demographics
  • Payment method analysis

Revenue Management

  • Daily rate optimization
  • Seasonal pricing analysis
  • Deal performance tracking
  • Availability optimization

🆘 Support & Maintenance

Backup Procedures

  1. Database backup before changes
  2. File system backup
  3. Plugin compatibility testing
  4. WordPress core updates

Troubleshooting

  • Check WordPress debug logs
  • Verify plugin compatibility
  • Test payment gateway connectivity
  • Monitor booking form functionality

📝 Development Guidelines

WordPress Standards

  • Follow WordPress Coding Standards
  • Use child theme for modifications
  • Sanitize all user inputs
  • Implement proper error handling

Plugin Development

  • Maintain Eagle Booking compatibility
  • Use WordPress hooks and filters
  • Implement secure database operations
  • Follow plugin development best practices

🤝 Contributing

Development Workflow

  1. Create feature branch
  2. Implement changes following guidelines
  3. Test in staging environment
  4. Submit for review
  5. Deploy to production

Code Quality

  • WordPress coding standards compliance
  • Comprehensive testing
  • Documentation updates
  • Security review

📄 License

This project is proprietary software developed for Hotel Raxa. All rights reserved.


Last Updated: $(date '+%Y-%m-%d') Version: 1.0.0 Developed with: Claude Code (https://claude.ai/code)

Description
No description provided
Readme 53 MiB
Languages
PHP 50.2%
JavaScript 39.7%
CSS 8.9%
SCSS 0.8%
HTML 0.4%