• v0.2.0 dabfe1e826

    Release 0.2.0
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m19s
    Stable

    magdev released this 2026-01-31 13:10:40 +00:00 | 41 commits to main since this release

    Added

    • Pricing System with three tiers:
      • Short-term (nightly) pricing for stays up to 6 nights
      • Mid-term (weekly) pricing for stays 7-27 nights
      • Long-term (monthly) pricing for stays 28+ nights
    • PricingTier enum class with automatic tier detection
    • Season class for seasonal pricing management
      • Date range support (MM-DD format)
      • Year-spanning seasons (e.g., winter holidays Dec-Jan)
      • Price modifier (multiplier) per season
      • Priority system for overlapping seasons
      • Active/inactive status toggle
    • Calculator class for price calculations
      • Automatic tier detection based on stay duration
      • Seasonal price adjustments
      • Weekend surcharge support
      • Price breakdown for detailed invoicing
      • Currency formatting with symbol/suffix support
    • Pricing meta box on Room edit screen
      • Base prices for each tier (nightly, weekly, monthly)
      • Weekend surcharge field
      • Link to pricing settings
    • Pricing Settings tab in plugin settings
      • Configurable tier thresholds
      • Weekend days selection
      • Quick view of configured seasons
    • Seasons admin page (WP BnB > Seasons)
      • List view with all seasons
      • Add/Edit season form
      • Delete confirmation
      • Create default seasons option
    • Price column in room list admin
    • Admin CSS for pricing UI
    • Admin JavaScript for pricing interactions

    Changed

    • Room post type now includes pricing fields
    • Plugin settings page has new Pricing tab
    • Enhanced asset localization with pricing i18n strings
    Downloads