Github repo: https://github.com/mwarrick/wordpress-price-by-date-range-or-dow
Features
🎯 Dynamic Pricing Rules
- Global Rules: Apply pricing rules across all products
- Product-Specific Rules: Override global rules for individual products
- Day-of-Week Filtering: Target specific days (e.g., weekend surcharges)
- Date Range Support: Set rules for specific date periods
- Percentage or Fixed Amount: Choose between percentage increases/decreases or fixed amounts
⏰ Frontend Date/Time Selection
- User-Friendly Interface: Clean date picker and time dropdown
- Required Fields: Both date and time must be selected before adding to cart
- Real-Time Price Updates: Prices update instantly as users select dates/times
- Configurable Time Range: Admin can set business hours (e.g., 6 AM to 8 PM)
- 30-Minute Intervals: Time selection in convenient 30-minute increments
- Transparent Pricing: Clear explanations in cart showing why prices differ from product page
🛠️ Admin Features
- Separate Settings Forms: Time range settings and pricing rules have independent forms
- Diagnostics Page: Built-in debugging tools for troubleshooting
- Date Validation: Prevents selection of past dates
- Nonce Security: All forms protected with WordPress nonces
- Multisite Compatible: Works with WordPress multisite installations
🔧 Technical Features
- Timezone Aware: Properly handles WordPress site timezone settings
- AJAX Price Updates: Smooth user experience with real-time price changes
- Complete Cart Integration: Selected date/time stored in cart and order data with consistent pricing
- Variable Product Support: Full support for WooCommerce variable products and variations
- Transparent Pricing Display: Clear explanations of price adjustments in cart and orders
- WooCommerce Compatible: Works with all WooCommerce product types
- Translation Ready: Full internationalization support
