Descripción
Accommodation Bookings es una extensión gratuita para WooCommerce y el plugin WooCommerce Bookings que hace más fácil alquilar tu espacio o gestionar un hotel.
Este plugin añade más funcionalidades a WooCommerce Bookings y hace posible:
- Configura fácilmente las tarifas de la habitación para específicas noches.
- Reservas que incluyen noches en lugar de días.
- Muestra la información de entrada/salida en la página de producto, el carrito y las páginas de pedido.
Accommodation Bookings is fully compatible with WooPayments.
Instalación
- Asegúrate que WooCommerce y WooCommerce Bookings están instalados.
- Descarga el archivo del plugin a tu ordenador y descomprimelo.
- Usando un programa de FTP, o en el panel de control de tu alojamiento, sube la carpeta del plugin descomprimida al directorio wp-content/plugins/ de tu instalación de WordPress.
- Activa el plugin desde el menú plugins en la administración de WordPress.
O usa el asistente de instalación automática en tu panel de administrador, simplemente buscando por el nombre del plugin.
FAQ
-
¿Por qué mis productos de alojamiento muestran precios mayores que los que defino en el escritorio?
-
Si los precios que se muestran en el producto no coinciden con los precios definidos en el escritorio, lo más probable es que el mecanismo de caché utilizado para el cálculo de precios siga usando información antigua (por ejemplo, cuando actualizaste los precios o cuando se cambió un producto reservable a un producto de alojamiento) . La forma más rápida de asegurarte de que tus precios sean correctos es volver a guardar tu producto de alojamiento existente. El guardado actualizará la caché y el precio en su sitio ahora reflejará lo que has definido en su escritorio.
Reseñas
Colaboradores y desarrolladores
«WooCommerce Accommodation Bookings» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
Colaboradores«WooCommerce Accommodation Bookings» está traducido en 8 idiomas. Gracias a los traductores por sus contribuciones.
Traduce «WooCommerce Accommodation Bookings» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.4.0 – 2026-11-11
- Add – Made the stale booking transient cleanup tool available through WP-CLI.
- Fix – Fixed a fatal error on the product edit screen when a booking pricing rule has an empty or non-numeric cost.
- Fix – Fixed a fatal error when updating from versions before 1.1.3 if a pricing rule has an empty or non-numeric block cost. Rules with an empty block cost no longer make those nights free.
- Tweak – Clarify that accommodation person costs do not support pricing tiers based on party size.
- Dev – Updated CI setup for Ubuntu 26.04 runners.
1.3.17 – 2026-11-04
- Fix – Avoided database packet errors when caching large booking availability results.
1.3.16 – 2026-10-29
- Fix – Fixed a fatal error when availability is requested for a resource that is not assigned to the accommodation product.
- Fix – Fixed resource availability rules being ignored when counting available nights for products with resources.
- Fix – Fixed availability being calculated for 1970 when a check-in or check-out time is empty.
- Tweak – Require WooCommerce Bookings 3.10.0 or later.
- Dev – Add the canonical GPL-3.0 license text.
- Dev – Add the Automattic security policy and public security contact.
- Dev – Raised the PHPStan analysis level to 8.
- Dev – Corrected docblock types reported by PHPStan level 9.
- Dev – Corrected docblock types reported by PHPStan level 10.
- Dev – Checked integrations in PHPStan against generated stubs from woocommerce/php-stubs.
- Dev – Resolved PHPStan baseline entries without changing behavior.
- Dev – Kept the PHPStan integration stubs up to date without manual changes.
- Dev – Updated QIT CLI to 1.3.3.
1.3.15 – 2026-10-21
- Fix – Kept the saved check-in/out time when a filter returns an invalid time, instead of saving a 1970 date or causing a fatal error.
- Fix – Loaded the accommodation booking form scripts and styles when the Single Product block is nested in another block.
- Fix – Kept partial-day check-in and check-out restrictions when navigating between months.
- Fix – Stopped the info icon on check-in-only and check-out-only days from selecting that date when clicked.
- Fix – Fixed the date that screen readers announce for days shown from the previous or next month.
- Fix – Showed the date a stay was booked in the cart’s Booking Date row, instead of today’s date or, on translated stores, the check-in date.
- Tweak – Key cached availability results from get_time_slots() by the requested blocks, so a different block selection in the same date range is no longer served stale slots.
- Dev – Added regression coverage for critical merchant flows.
- Dev – Raised the PHPStan analysis level to 3.
- Dev – Raised the PHPStan analysis level to 4.
- Dev – Raised the PHPStan analysis level to 5.
- Dev – Raised the PHPStan analysis level to 6.
- Dev – Raised the PHPStan analysis level to 7.
1.3.14 – 2026-10-14
- Fix – Stopped hiding available accommodation dates when several resources have bookings.
- Fix – Restored the «Select check-out» prompt after a check-in date is picked with WooCommerce Bookings 3.11.0.
- Fix – Corrected calendar (.ics) dates for all-day bookings, which were written with a time and, for other bookable products, ended a day early.
- Fix – Prevented duplicate booking multiplier options in global add-on groups.
- Tweak – Raised minimum requirements to WordPress 7.0 and WooCommerce 11.1.
- Dev – Updated @wordpress/scripts to 36.1.
- Dev – Updated development dependencies to address security advisories.
1.3.13 – 2026-10-07
- Fix – Bound accommodation availability caching and avoid duplicate registry entries on cache hits.
- Fix – Validate person-record ownership and edit permissions before saving accommodation person types.
- Tweak – Declared compatibility with WooCommerce 11.2.
- Dev – Updated development dependencies to address security advisories.
- Dev – Enforce checks for authored stylesheets.
- Dev – Run PHPCS and QIT tooling on PHP 8.4.
- Dev – Read pull-request metadata as data in the issue-link workflow.
- Dev – Keep CI credentials out of steps that run pull-request code.
- Dev – Managed changelog entries with the Jetpack Changelogger, so pull requests add a change file instead of writing the entry in the pull request description.
- Dev – Updated the development toolchain to Node 24.18 and @wordpress/scripts 35.
1.3.12 – 2026-08-26
- Dev – Bump WordPress «Tested up to» to 7.1.
- Dev – Bump WooCommerce «tested up to» version 11.1.
- Dev – Bump WooCommerce minimum supported version to 10.9.
1.3.11 – 2026-07-29
- Update – Enhanced datepicker accessibility with screen reader support and improved visual indicators for booking availability status.
- Update – Calendar display option text to clarify user interaction.
- Fix – Accommodation Bookings no longer deactivates itself when WooCommerce Bookings is missing or outdated, an admin notice is shown instead.
- Dev – Upgrade Node.js from v20 to v24 and npm from v10 to v11.
- Dev – Upgrade npm and Composer dependencies.
- Dev – Add a spell-check GitHub Actions workflow and fix typos.
- Dev – Bump WooCommerce «tested up to» version 11.0.
- Dev – Bump WooCommerce minimum supported version to 10.8.
- Dev – Bump WordPress minimum supported version to 6.9.
1.3.10 – 2026-05-27
- Fix – Remove «woocommerce-bookings» from the plugin dependencies, as it is not hosted on WordPress.org.
1.3.9 – 2026-05-26
- Fix – Make the Accommodation settings tab visible to Shop Manager users by using the
manage_woocommercecapability. - Fix – Accommodation Bookings scripts now load only on accommodation product pages, resolving a console notice and a conflict with WooCommerce Product Add-Ons.
- Fix – Updated the booked blocks structure to display the correct availability for the Bookings Availability block.
- Fix – Use a DOM element for the booking form title to improve accessibility.
- Update – Now declares woocommerce-bookings as a required plugin for this plugin to be activated.
- Dev – Bump WooCommerce «tested up to» version 10.8.
- Dev – Bump WooCommerce minimum supported version to 10.6.
- Dev – Bump the
plugin-check-actionGitHub Action version to v1.1.5 to fix the runner path failure. - Dev – Fix the direct file access protection errors reported by the Plugin Check plugin.
1.3.8 – 2026-04-13
- Dev – Bump WooCommerce «tested up to» version 10.7.
- Dev – Bump WooCommerce minimum supported version to 10.5.
- Dev – Bump WordPress «Tested up to» to 7.0.
- Dev – Bump WordPress minimum supported version to 6.8.
1.3.7 – 2026-01-27
- Fix – Updated the Booked Blocks structure to display correct availability, ensuring compatibility with Bookings V3.
- Dev – Bump WooCommerce «tested up to» version 10.5.
- Dev – Bump WooCommerce minimum supported version to 10.3.
1.3.6 – 2025-12-15
- Fix – Ensure there is no fatal error on the bookings list page due to recent changes in Bookings V3.
- Fix – JavasScript error reference to jQuery on New Product page.
- Dev – Bump WooCommerce «tested up to» version 10.4.
- Dev – Bump WooCommerce minimum supported version to 10.2.
- Dev – Bump WordPress «tested up to» version 6.9.
- Dev – Update PHP Compat sniffs to a development version covering most of the PHP 8.4 changes.
- Dev – Run the PHP Compat sniffs against the entire production release of the plugin.
- Dev – Updates to our QIT GitHub Action workflow.
1.3.5 – 2025-10-06
- Dev – Bump WooCommerce «tested up to» version 10.2.
- Dev – Bump WooCommerce minimum supported version to 10.0.
1.3.4 – 2025-08-11
- Dev – Bump WooCommerce «tested up to» version 10.1.
- Dev – Bump WooCommerce minimum supported version to 9.9.
- Dev – Bump WordPress minimum supported version to 6.7.
- Dev – Ensure JavaScript dependencies are set correctly.
- Dev – Update NPM packages to fix security issues.
1.3.3 – 2025-05-27
- Dev – Bump WooCommerce «tested up to» version 9.9.
- Dev – Bump WooCommerce minimum supported version to 9.7.
- Dev – Bump WordPress «tested up to» version 6.8.
- Dev – Update all third-party actions our workflows rely on to use versions based on specific commit hashes.
1.3.2 – 2025-03-10
- Update – Render uniform WP time picker over default time input element.
- Dev – Bump WooCommerce «tested up to» version 9.7.
- Dev – Bump WooCommerce minimum supported version to 9.5.
- Dev – Bump WordPress minimum supported version to 6.6.
- Dev – Disabled warning checks from WordPress Plugin Check Action.
1.3.1 – 2025-01-20
- Dev – Bump WooCommerce «tested up to» version 9.6.
- Dev – Bump WooCommerce minimum supported version to 9.4.
- Dev – Use the
@woocommerce/e2e-utils-playwrightNPM package for E2E tests.
1.3.0 – 2024-12-02
- Fix – Ensure sorting by price works as expected.
- Dev – Bump WooCommerce «tested up to» version 9.5.
- Dev – Bump WooCommerce minimum supported version to 9.3.
1.2.10 – 2024-11-18
- Dev – Bump WordPress «tested up to» version 6.7.
1.2.9 – 2024-10-28
- Dev – Bump WooCommerce «tested up to» version 9.4.
- Dev – Bump WooCommerce minimum supported version to 9.2.
- Dev – Bump WordPress minimum supported version to 6.5.
1.2.8 – 2024-08-28
- Fix – Ensure display of checkbox options shows correctly in an Accommodation product.
- Fix – Allow Accommodation product tabs to be ordered properly.
- Dev – Bump WooCommerce «tested up to» version 9.2.
- Dev – Bump WooCommerce minimum supported version to 9.0.
- Dev – Fix QIT E2E tests and add support for a few new test types.
- Dev – Update E2E tests to accommodate the changes in WooCommerce 9.2.
1.2.7 – 2024-07-15
- Dev – Bump WooCommerce «tested up to» version 9.0.
- Dev – Bump WooCommerce minimum supported version to 8.8.
- Dev – Bump WordPress «tested up to» version 6.6.
- Dev – Bump WordPress minimum supported version to 6.4.
- Dev – Update NPM packages and node version to v20 to modernize developer experience.
- Dev – Add proper plugin name to the
readme.txt. Remove Bookings from our required plugins list as it’s not hosted on WordPress.org. - Dev – Exclude the Woo Comment Hook
@sincesniff. - Fix – Unavailable accommodation days appear available even when booked.
- Fix – Error in Updating Accommodation Product Data via REST API:
Unrecognized Product Type Response.
1.2.6 – 2024-05-20
- Dev – Bump WooCommerce «tested up to» version 8.9.
- Dev – Bump WooCommerce minimum supported version to 8.7.
- Dev – Bump WordPress «tested up to» version 6.5.
- Dev – Bump WordPress minimum supported version to 6.3.
1.2.5 – 2024-02-26
- Dev – Apply same code style (call static method) within file.
- Dev – Bump WooCommerce «tested up to» version 8.6.
- Dev – Bump WooCommerce minimum supported version to 8.4.
- Fix – Booking Calendar displays incorrect availability for Accommodation Products.
- Fix – Missing product ID when getting check-in time.
1.2.4 – 2024-02-05
- Dev – Bump PHP «tested up to» version 8.3.
- Dev – Bump WooCommerce «tested up to» version 8.5.
- Dev – Bump WooCommerce minimum supported version to 8.3.
- Dev – Bump WordPress minimum supported version to 6.3.
1.2.3 – 2024-01-08
- Dev – Declare compatibility with WooCommerce Blocks.
- Dev – Bump PHP minimum supported version to 7.4.
- Dev – Bump WooCommerce «tested up to» version 8.4.
- Dev – Bump WooCommerce minimum supported version to 8.2.
1.2.2 – 2023-12-11
- Dev – Add end-to-end tests using Playwright.
- Dev – Update default behavior to use a block-based cart and checkout in E2E tests.
- Dev – Bump WooCommerce «tested up to» version 8.3.
- Dev – Bump WooCommerce minimum supported version to 8.1.
- Dev – Bump WordPress «tested up to» version 6.4.
- Dev – Bump WordPress minimum supported version to 6.2.
1.2.1 – 2023-10-10
- Dev – Hard code the paths to the asset data files.
- Dev – Update PHPCS and PHPCompatibility GitHub Actions.
- Fix – Fatal Error when WooCommerce is disabled.
- Tweak – Indicate compatibility with WooPayments extension.
1.2.0 – 2023-09-05
- Dev – Bump PHP minimum supported version from 7.0 to 7.3.
- Dev – Bump WooCommerce «tested up to» version from 7.8 to 8.0.
- Dev – Bump WooCommerce minimum supported version from 7.2 to 7.8.
- Dev – Bump WordPress «tested up to» version from 6.2 to 6.3.
1.1.43 – 2023-07-17
- Dev – Bump WooCommerce «tested up to» version 7.8.
- Dev – Bump WooCommerce minimum supported version from 6.0 to 7.2.
- Dev – Bump WordPress minimum supported version from 5.6 to 6.1.
1.1.42 – 2023-06-14
- Dev – Bump WooCommerce «tested up to» version to 7.6.
- Dev – Bump WooCommerce minimum supported version from 6.0 to 6.8.
- Dev – Bump WordPress «tested up to» version to 6.2.
- Dev – Bump WordPress minimum supported version from 5.6 to 5.8.
- Dev – Added new GitHub Workflow to run Quality Insights Toolkit tests.
1.1.41 – 2023-05-26
- Dev – Add product unit filter,
wc_bookings_product_duration_fallback, to add night unit support. - Dev – Fix linting errors found by the Quality Insights Toolkit.
1.1.40 – 2023-05-12
- Dev – Added a new filter,
woocommerce_accommodation_booking_get_check_times, to change the check-in/out timings per product. - Fix – Fully booked days show as partially booked – Day after booking shows partially booked.
1.1.39 – 2023-03-14
- Dev – Bump
http-cache-semanticsfrom 4.1.0 to 4.1.1.
1.1.38 – 2023-03-13
- Dev – Bump
http-cache-semanticsfrom 4.1.0 to 4.1.1.
1.1.37 – 2023-01-27
- Dev – Bump
scss-tokenizerfrom 0.3.0 to 0.4.3 andnode-sassfrom 7.0.1 to 7.0.3. - Fix – Fatal error when Rate is empty and Range Cost is added.
- Tweak – Bump WooCommerce «tested up to» from 6.7 to 7.3.
- Tweak – Bump WordPress tested up to version from 6.0 to 6.1.
- Tweak – Bump minimum required WordPress version from 4.1 to 5.6.
1.1.36 – 2022-11-24
- Actualización – Mejorar NPM a v8.
- Actualización – Mejorar composer a v2.
- Actualización – Mejorar node a v16.
1.1.35 – 2022-11-09
- Añadir – Declarar la compatibilidad con Almacenamiento de pedidos de alto rendimiento («HPOS»).
- Bump minimist from 1.2.5 to 1.2.6.
- Corrección – Mostrar la fecha de entrada en la página de carrito en lugar de la fecha de reserva.
- Tweak – Minimum Version Bumps: WP 5.6, Woo 6.0, & PHP 7.0.
1.1.34 – 2022-11-01
- Fixed – PHP 8.0/8.1 Compatibility issue fixed: Critical error when cost in range is empty if Standard room rate is empty as well.
1.1.33 – 2022-08-10
- Fix – Build artifact includes node_modules.
1.1.32 – 2022-08-01
- Retoque: Compatibilidad con WC 6.7.
- Actualizadas todas las dependencias npm.
1.1.31 – 2022-07-06
- Fix – Fatal error with PHP 8.0 when Base Cost/Block Cost is empty.
1.1.30 – 2022-06-02
- Corrección – Advertencia de PHP en la página de ajustes.
- Tweak – Bump tested up to WordPress version 6.0.
