Forum Replies Created
- AuthorPosts
Stacy Lind
KeymasterHi Jonah,
Our calendar uses Keith Wood’s datepicker. It’s documentation has different display options with code examples.
Stacy Lind
KeymasterHi Yurii,
Make sure that the confirmation page has been translated into all three languages and that its content has been translated through the String Translation module.
If it does not help, please, submit a support ticket with this issue.Stacy Lind
KeymasterHi Yurii,
MotoPress Hotel Booking does not have such an option. As a workaround, add the following to Appearance > Customize > Additional CSS:
.mphb-check-in-datepick .mphb-date-check-out.mphb-date-selectable { pointer-events: none; color: #9f9f9f !important; text-decoration: line-through; }
It will make the checkout date unselectable in [mphb_availability] and on accommodation type pages if the option Skip Search Results is enabled (Accommodation > Settings).
Stacy Lind
KeymasterHi
1. The pet fee can be added as a per adult service in Accommodation > Services.
2. The space can be added in wp-content\plugins\motopress-hotel-booking\includes\bundles\units-bundle.php Note that editing this file is not update-proof.
You can also change it with a translation plugin (update-proof):
How to change text in MotoPress Hotel Booking plugin?
3. [mphb_rooms] has pagination parameters described in Accommodation > Shortcodes.
Unfortunately, there are no pagination settings for the search results page. We will add it to our feature request list and will notify you when it gets implemented. As temporary workaround, you may add Load More button using a third party plugin e.g. Ajax Load More Anything. After you install the plugin navigate to Dashboard>Settings>Load More Anything. There you should add the following information to add the Load More button for room types on the search results page:Load More Button Wrapper - .mphb_sc_search_results-wrapper Load More Div - .mphb_sc_search_results-wrapper .mphb-room-type
4. A few ways to edit accommodation type pages with or without coding are described in this article:
How to edit accommodation type pages?
5. Enable Skip Search Results in Accommodation > Settings.
6. ‘Prices start at’ displays the lowest base price. Change them to the price that you want to display before availability check. Make sure to add all per person variations so that the prices are displayed correctly once customers run search.Stacy Lind
KeymasterHi Frederick,
Thank you for fixing the issue on your own.
Stacy Lind
KeymasterHi Kevin,
We would need to check it personally. Please, submit a support ticket.
Stacy Lind
KeymasterHi Kevin,
The property is not available on the dates when it does not have a price. So make sure that the property has a rate only for the 4 day season in Accommodation > Rates.
If you have only one accommodation type display its booking form with [mphb_availability id=”your accommodation type id”] and enable the option Skip Search Results. It will display only the available dates in the check availability form.
If you have multiple accommodation types, the best way would be to block off all the dates except for the 4 nights in the Bookings tab > Booking Rules (Block Accommodation). This block will be shown in all the calendars.Stacy Lind
KeymasterHi Bianka,
We have not received your email. Please, resend it.
Stacy Lind
KeymasterHi Nick,
1. Copy \wp-content\plugins\motopress-hotel-booking\templates\single-room-type\price.php into wp-content\themes\your-child-theme\hotel-booking\single-room-type\price.php.
2. In wp-content\themes\your-child-theme\hotel-booking\single-room-type\price.php change the line 19 to the following:
<?php custom_mphb_tmpl_the_room_type_default_price(); ?>
Stacy Lind
KeymasterOur plugin cannot display prices per one night if you have minimum stay rules. This would require a custom solution. Here is how you can customize it:
1. Add the following to wp-content\themes\your-child-theme\functions.php:function custom_mphb_tmpl_the_room_type_default_price( $id = null ){ $roomType = $id ? MPHB()->getRoomTypeRepository()->findById( $id ) : MPHB()->getCurrentRoomType(); $nights = 1; $price = mphb_get_room_type_base_price( $roomType ); $defaultPriceForNights = $price * $nights; $taxesAndFees = $roomType->getTaxesAndFees(); $taxesAndFees->setRoomPrice( $defaultPriceForNights ); $taxesAndFees->setupParams( array( 'period_nights' => $nights, 'defined' => false ) ); $title = __( 'Choose dates to see relevant prices', 'motopress-hotel-booking' ); $priceFortmatAtts = array( 'period' => true, 'period_nights' => $nights, 'period_title' => $title ); /** * @since 3.9.8 * * @param float $defaultPriceForNights * @param \MPHB\TaxesAndFees\TaxesAndFees * @param array $priceFortmatAtts * @param float $defaultPriceForNights */ $formattedPrice = apply_filters( 'mphb_tmpl_the_room_type_price_for_dates', mphb_format_price( $defaultPriceForNights, $priceFortmatAtts ), $taxesAndFees, $priceFortmatAtts, $defaultPriceForNights ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo $formattedPrice; }
2. Copy wp-content\plugins\motopress-hotel-booking\templates\loop-room-type\price.php into wp-content\themes\your-child-theme\hotel-booking\loop-room-type\price.php.
3. In wp-content\themes\your-child-theme\hotel-booking\loop-room-type\price.php change the line 19 to the following:
<?php custom_mphb_tmpl_the_room_type_default_price(); ?>
It will always display prices per night unless your customer searchers for specific dates. We could also customize the code for you with the extended support offer.Stacy Lind
KeymasterHi Simon,
Here is what you can check:
What to do if booking notification emails are not delivered
If the article does not help, please, submit a support ticket.Stacy Lind
KeymasterHi Roger,
Our plugin has no custom roles. “Hotel Managers” nor “Booking Editors” may come from some other plugin. Here is how you can create a custom role for our plugin:
WordPress does not allow giving more rights to a user than they initially have. However, it is possible to limit roles.
1. Install the plugin User Role Editor.
2. In Settings > User Role Editor, enable Show Administrator role at User Role Editor.
3. In Users > User Role Editor, click Add Role. Name it accordingly (e.g. HBooking) and make a copy of the administrator role.
4. Install Adminimize. This plugin has more advanced user role settings and you can specify what menu tabs and sub-tabs exactly should be accessible for certain roles.
5. In Settings > Adminimize, tick the options that should be restricted in the column of the new HBooking role.Stacy Lind
KeymasterHi Jesse,
Please, submit a support ticket with the request.
Stacy Lind
KeymasterYes, our plugin has no compatibility issues with WPML and you will be able to set up your content in multiple languages. We have an article on how to translate our booking system with WPML.
Stacy Lind
KeymasterUnfortunately, we do not have more info on this. From what I saw it looks like you can have this option if you are renting out a house or a room, which is a single property in its property type. Other properties used to have this option in an old calendar view, which does not seem to be available any longer.
- AuthorPosts