Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking I need to change the price format
- This topic has 8 replies, 3 voices, and was last updated 4 years, 1 month ago by Martina Didáková.
- AuthorPosts
- October 14, 2020 at 5:59 pm #1017174Martina DidákováParticipant
Hello,
The plugin is great. Thank you
I have a question. I need to change the price format
I don’t want a comma in the price, but a space. It will work?October 14, 2020 at 6:53 pm #1017185KhaledParticipantyou can add this to your function.php of your child theme
function theme_default_option_mphb_thousand_separator() { return '.'; } function theme_default_option_mphb_decimals_separator() { return ','; } add_filter( 'default_option_mphb_decimals_separator', 'theme_default_option_mphb_decimals_separator' ); add_filter( 'default_option_mphb_thousand_separator', 'theme_default_option_mphb_thousand_separator' );
you can customize the separators as you like. in this example is the thousand separator a “.” and a comma for the decimals.
October 14, 2020 at 7:13 pm #1017187Martina DidákováParticipantThanyk you very much 🙂
October 14, 2020 at 8:16 pm #1017188Martina DidákováParticipantplease one more question.
I have only 1 accommodation as a whole.
I do not want a box with the option to choose 1 accommodation
link – http://www.uschovna.cz/zasilka/DR9JCVIIEV4LFR87-JA9
how can i remove it?October 16, 2020 at 7:30 am #1017810Andre FloresModeratorHello, Martina!
First of all, I would recommend that you refer to this article on how to set up a single property rental. As for removing the box with the number of available accommodations, add the following code under Appearance ->Customize ->Additional CSS:
.mphb-rooms-quantity-wrapper.mphb-rooms-quantity-multiple { display: none; }
Regards,
AndreOctober 20, 2020 at 7:02 am #1019254Martina DidákováParticipantHi, please I need to pair
[mphb_search_results = “price” view_button = “no” title = “no” details = “”] – search
with reservation.
[mphb checkout]When I search, there is a different price than when I want to confirm the reservation.
Thank you for answer
October 21, 2020 at 6:57 am #1019796Martina DidákováParticipantCan you help me please?
October 23, 2020 at 7:41 am #1020735Andre FloresModeratorHello, Martina!
Please note that on the Search Results page base prices for your accommodation types are displayed – there is also a note that “prices start at”, so it gives your Guests a hint that the price may vary. When you confirm the booking, the price is displayed according to the selected number of adults/children and may differ from the ones on the Search Results page – this is how it should work.
Regards,
AndreOctober 23, 2020 at 7:56 am #1020741Martina DidákováParticipantThank you.
How is it possible that the price of the search results is higher and the price is basic (lower) when confirming the reservation?
Isn’t there a way for the booking price to show the actual price (correct number of adults and children)? - AuthorPosts
- You must be logged in to reply to this topic.