| @@ -140,8 +140,12 @@ | ||
| 140 | 140 | 'holiday' => array(), |
| 141 | 141 | 'custom' => array(), |
| 142 | 142 | 'allow_customer_as_wp_user' => false, |
| 143 | 143 | 'pending_reservation_timeout' => 10, |
| 144 | + // WooCommerce checkout is stripped down by default: the booking form | |
| 145 | + // already collected the customer, so billing fields would ask twice. | |
| 146 | + 'wc_show_billing_fields' => false, | |
| 147 | + 'wc_thankyou_page' => 'woocommerce', | |
| 144 | 148 | ); |
| 145 | 149 | |
| 146 | 150 | return apply_filters( 'booktics_default_settings', $defaults ); |
| 147 | 151 | } |