Hotel Raxa Dev 5b1e2453c7 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 07:43:22 +02:00

50 lines
1.9 KiB
PHP

<?php
/**
* The Template for displaying room slider
*
* This template can be overridden by copying it to yourtheme/eb-templates/single-room/full-slider.php.
*
* Author: Eagle Themes
* Package: Eagle-Booking/Templates
* Version: 1.1.6
*/
defined('ABSPATH') || exit;
?>
<div class="room-slider room-full-slider">
<?php if ($room_slider) : ?>
<div id="eb-room-full-slider" class="swiper-container">
<div class="swiper-wrapper eb-image-gallery">
<?php
$files = get_post_meta( get_the_ID(), 'eagle_booking_mtb_room_slider_images', true );
foreach ( (array) $files as $attachment_id => $attachment_url ) :
$room_images_url = wp_get_attachment_image_url( $attachment_id, 'full' ); ?>
<div class="swiper-slide" style="background-image:url(<?php echo esc_url( $room_images_url ) ?>)">
<a href="<?php echo esc_url( $room_images_url ) ?>"></a>
<img src="<?php echo get_the_post_thumbnail_url('', 'eagle_booking_image_size_1920_800') ?>" alt="<?php echo get_post_meta($attachment_id, '_wp_attachment_image_alt', true) ?>" title="<?php echo get_the_title( $attachment_id ) ?>" height="0" width="0">
</div>
<?php endforeach ?>
</div>
<div class="swiper-pagination"></div>
<?php if ( eb_get_option('eb_room_slider_nav') == true ) : ?>
<div class="swiper-next"><i class="fa fa-angle-right" aria-hidden="true"></i></div>
<div class="swiper-prev"><i class="fa fa-angle-left" aria-hidden="true"></i></div>
<?php endif ?>
</div>
<?php else : ?>
<?php if (has_post_thumbnail()) : ?>
<div style="background:url('<?php echo get_the_post_thumbnail_url('', 'eagle_booking_image_size_1170_680') ?>'); background-size: cover; min-height: 600px">
</div>
<?php endif ?>
<?php endif ?>
</div>