For the complete documentation index, see llms.txt. This page is also available as Markdown.

By Period of Time

The Rental by Period Time type sells rentals as fixed-duration packages. Instead of letting the customer freely pick a date range, you define a list of packages (e.g. "3-Day Pass", "Weekly Rental", "4-Hour Session") each with a fixed price. The customer selects a package and a start date — the end date is calculated automatically from the package duration.

lightbulb-exclamation

Use this type when your pricing is package-based rather than per-unit-time: weekly bike rentals, monthly equipment subscriptions, day-pass activities, or fixed-hour studio sessions.

Aspect
Rental by Day
Rental by Period Time

Customer selects

Free date range (any duration)

A pre-defined package + start date

Pricing model

Price × number of days

Fixed price per package

Drop-off date

Customer picks

Auto-calculated from package duration

GD / ST

✓

— Not available

Daily pricing plan

✓

— Not available

Discount mechanism

Global Discount by days

Per-package Discount field

Locations / Round-trip

✓

✓

1: Quick Start

1

Add General fields

Read in overview

4

Shared Fields

The following fields are shared across multiple rental types.

5

Common Fields

The following fields are shared across all rental types.

6

Customize Fields in Product Editing

You can add/remove fields in product editing.

7

Publish

Set a WooCommerce Regular Price for display purposes, then click Publish. The actual booking price is always calculated by BRW settings.

2: Choose Rental Type

  • Step 1: Add new product

  • Step 2: Setup

    • Product data: Rental

    • Rental Type: Period of Time

3: Pricing Settings

3.1 Package Type

A global setting that controls whether the session start/end time is fixed or customer-selectable. Applies to all Hour-type packages in this product.

🔒 Fixed Hour no

  • Package has a specific start and end time

  • Customer cannot change the session time

  • Example: "Morning Session 09:00–13:00"

  • Fields: pehour_start_time[], pehour_end_time[]

🕐 UnFixed Hour yes

  • Package defines duration in hours

  • Customer chooses their own start time

  • Example: "4-Hour Session" (start anytime)

  • Field: pehour_unfixed[] (total hours)

3.2 Packages

The main pricing table. Each row is one package option the customer can select. Add as many packages as needed — they are displayed as a dropdown or list in the booking form.

Column
Meta key
Description

ID

petime_id[]

Unique identifier for this package. Use alphanumeric characters, no spaces (e.g. weekly, halfday, pkg3d). Used internally to reference the package.

Price

petime_price[]

Fixed price for this package. Shown in the booking form when the customer selects it.

Type

package_type[]

Select Hour (inday) for same-day sessions, or Day (other) for multi-day packages.

Name

petime_label[]

Display name shown to customers (e.g. "Half Day", "Weekly Pass", "3-Day Rental"). Keep concise.

Discounts

petime_discount[]

Optional discount value for this package. Reduces the package price by this amount

or percentage.

When Type = Hour — additional fields appear:

Field
Meta key
Description

Total hours (UnFixed)

pehour_unfixed[]

Number of hours for this session package. Used when Package Type = UnFixed Hour. The customer picks the start time; end = start + this value.

Start time (Fixed)

pehour_start_time[]

Fixed session start time. Used when Package Type = Fixed Hour.

End time (Fixed)

pehour_end_time[]

Fixed session end time. Used when Package Type = Fixed Hour.

When Type = Day — additional field appears:

Field
Meta key
Description

Total days

petime_days[]

Number of days for this package. The drop-off date = pick-up date + this number of days.

Example package table: ID=halfday | Price=$25 | Type=Hour | Name="Half Day" | Hours=4 ID=fullday | Price=$40 | Type=Hour | Name="Full Day" | Hours=8 ID=weekly | Price=$180 | Type=Day | Name="Weekly Pass" | Days=7

Drop-off date: Period Time type does not show a separate drop-off date picker in the booking form. The end date/time is calculated automatically once the customer picks a package and a start date.

4: Shared Fields

Period Time type supports Locations, Round-trip, and Guests. There is no separate Drop-off date field — it is auto-calculated from the selected package.

5: Common Fields

These fields are shared across all rental types and documented on a dedicated reference page. Click any card to go directly to that section.

6: Customize Fields in Product Editing

When you create a product and want to remove unnecessary fields, you can follow these steps in Customize - Rental Type

Last updated