# Wordpress Booking System order details plugin

Shows informations about reservation on view-order page.

## Enabling

1. enable wpbs-booking-system-premium plugin
1. enable woocommerce plugin
1. change `"wpbs_order_details"` in `"wpbs_order_details.json"` to `true`

## Configuration

change `"wpbs_order_details"` as follows :

```
{
  "wpbs_order_details": {
    "informations": {
      "status": false,
      "date_created": false,
      "date_modified": false,
      "start_date": true,
      "end_date": true,
      "form_fields": [1, 2, 3]
    },
    "prices": false
  }
}
```

## Configuration keys

1. **wpbs_order_details** - boolean or object (false -> plugin is disabled, true -> both informations and prices are shown)
   1. **informations** - boolean or object of fields you want to output
      - **form_fields** - array of IDs from form builder
   2. **prices** - boolean (whether or not to show detailed prices)
