Compatibility
Does SRE replace MotoPress Hotel Booking?
No. SRE is a companion plugin that requires MPHB to function. It writes rate data into MPHB's existing data structures. MPHB continues to handle all bookings, availability, payment processing, and front-end display. SRE only manages the rate configuration — it never touches the booking workflow.
Does it work with my existing MPHB setup?
Yes. SRE reads your existing MPHB configuration — room types, seasons, and rate structures. Your current setup is the starting point, not something you need to rebuild. SRE maps to what already exists and writes calculated rates back into MPHB's native format.
What version of MPHB is required?
MotoPress Hotel Booking 5.4 or later. SRE works with both Hotel Booking Lite (free) and Hotel Booking Premium.
Does it work with Hotel Booking Lite?
Yes, with limitations. Base rate management, season mapping, MLS sync, backup and restore all work fully with Lite. However, length-of-stay tier pricing and occupancy surcharges are written to the database correctly but are ignored by Lite's front-end — these features require Hotel Booking Premium to display to guests.
SRE shows a dismissible notice when Lite is detected, explaining the limitations. Nothing is disabled — if you upgrade to Premium later, your LOS and surcharge data is already in place.
What happens if I deactivate SRE?
Nothing changes for your guests. All rates and booking rules are stored in MPHB's native format — they don't depend on SRE being active. Deactivating SRE simply removes the rate management interface from your admin. Your existing rates, booking rules, and surcharges remain exactly as they were.
Does SRE affect front-end performance?
No. SRE is admin-only — it never loads on the front end. All rate data is baked into MPHB's native post meta, which MPHB serves as static data. There is zero additional page load, zero additional database queries, and zero JavaScript on guest-facing pages.
Data Safety
Will it overwrite my existing rates?
Only when you explicitly click Generate Rate Tables — and never without a backup. Every generation creates a timestamped snapshot of your existing MPHB rate data before writing anything. The backup is verified before any write proceeds — if backup fails, generation is aborted.
What if I need to roll back?
Click Restore Last Backup on the Preview & Generate tab. Your previous rates are reinstated immediately. The restore operation itself creates a backup first, so restore is always reversible — you can't lose data by restoring.
Can I still edit rates directly in MPHB?
You can, but SRE will overwrite manual changes the next time you generate rates. SRE displays a warning notice on MPHB rate and season edit screens as a reminder. You can also optionally hide the MPHB Rates and Seasons menu items from the Defaults & LOS tab to prevent accidental edits.
Does SRE create custom database tables?
No. SRE stores its configuration in WordPress options and writes rate data into MPHB's existing post meta fields. There are no custom database tables to manage, migrate, or clean up.
What data does SRE store?
SRE stores its configuration in arv_sre_settings (wp_options) and syncs minimum stay rules into mphb_min_stay_length. Google Calendar settings Pro are stored in a separate option. No data is sent to external servers except Google Calendar API calls when importing holidays Pro.
Features
How does the pricing calculation work?
The formula is: Base Rate × Season Multiplier × LOS Multiplier = Nightly Rate. For example, a $300 base rate in High Season (×1.10) for a 7+ night stay (×0.95) calculates as $300 × 1.10 × 0.95 = $313.50, rounded to $314. All rates are rounded to whole numbers.
Extra guest surcharges use the same formula when multiplier application is enabled (the default). A $50 surcharge becomes $55 in High Season (×1.10).
How does minimum length of stay work?
SRE manages MLS through a three-layer system: each season type has a default minimum stay, individual seasons can override their type default, and specific room types can override individual seasons. The most specific rule wins. SRE syncs these rules directly to MPHB's booking rules automatically.
What is the pricing year?
A pricing year is a container for base rates and surcharges. By default it runs January 1 to December 31. Each pricing year is independent — you can have different base rates for different years simultaneously. Pro allows configuring the year start date (for example, April 1 to March 31).
How does the calendar holiday import work?
SRE connects to Google's public holiday calendar for your country using a free Google Calendar API key. It pulls in official public holidays and can auto-expand single-day holidays that fall adjacent to weekends into long weekend seasons (Friday–Monday). Duplicate detection prevents re-importing holidays that already exist as MPHB seasons. Pro
How many room types can I manage?
Unlimited — on both Free and Pro. SRE's performance scales with room types (typically 3–5 even for larger properties), not physical rooms. A 40-room hotel with 5 room types generates the same rate tables as a 5-room B&B with 5 room types.
Do I need to know code to use this?
No. SRE is entirely UI-driven. If you can navigate the WordPress admin and you understand your own pricing structure, you can use SRE. The interface was designed for accommodation managers, not developers.
Scope & Limitations
Does SRE manage max stay rules?
No. SRE manages minimum stay rules only. Maximum stay, check-in days, and check-out days are MPHB booking policy settings — configure these directly in MPHB.
Can SRE manage multiple rates per room type?
Not currently. SRE manages one MPHB rate per room type. If a room type has multiple rates (for example, Standard and Non-Refundable), SRE manages the rate selected when the room type was added. Other rates are not affected by SRE operations.
Does SRE create MPHB seasons?
Not directly from the Seasons tab — you create seasons in MPHB and then map them in SRE. However, two features do create MPHB seasons automatically: Import Holidays Pro creates holiday and long weekend seasons, and year duplication with season options Pro duplicates structural and holiday seasons into a new year.
Support
Where do I get help?
Free users: Once the free version is approved on WordPress.org, support will be via the plugin support forum. In the meantime, email support@arvanel.dev.
Pro users: Use the built-in contact form in the plugin (powered by Freemius) or email support@arvanel.dev directly.