The Commerce Availability module is a booking system for rent products for a specific date. It provides an easy way of using a datetime picker field on a line item to show and change states automatically of an availability calendar field in a type of a Drupal Commerce's product variation.
This version is tested with 7.x-4.1 and 7.x-5.4 versions of availability_calendar module and Drupal Commerce Kickstart 2 distribution.
Features
- Adds a new "blocked" state to the default availability calendar states.
- Updates states when the checkout is completed, a product is added or removed from the cart, and when an order expires or its status changes.
- Adds the datetime field for the event day in the commerce_line_item_table view of commerce_line_item module.
- Adds a rule action to delete states on expired orders. It requires the commerce_cart_expiration module.
- Hides quantity field in Commerce add to cart confirmation and Shopping cart form views, and doesn't allow more than one same product in the cart.
- Offers configuration to extend shipping management on days off and holidays.
Whether the first or last day of the shipment period is holiday or a day off, the module adds a extra day to extend shipping management.
- Adds a new "offline" status order for manual editing in orders management.
- Modifies orders management view to show the event day and allows adding days event from the orders management for order lines manually entered.
Integration with Drupal and contrib modules
Mainly you need to add:
- A datetime popup field in a line item for a specific date (not a range of days).
- An availability calendar field in a type of a Drupal Commerce's product variation.
Configuration for the product variations field in the associate line item:
- Select "Add to cart form"
- In its format settings: uncheck "Display a textfield quantity widget on the add to cart form" and set "default quantity = 1" (The module only supports attaching a date range for each product variation).
Others settings:
- It's necessary to check "Include this field on Add to Cart forms for line items of this type. " option in datetime popup field settings in order to see the date selection.
- Required jQuery version >= 1.7
Settings
admin/config/system/commerce-availability
Dependencies
availability_calendar
date
date_popup
editableviews
commerce_cart
commerce_line_item
commerce_cart_expiration
Sponsored by:
The project has been sponsored by Biko.
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: E-commerce
4 sites report using this module
- Created by inakilz on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

