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á.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1017174
    Martina 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?

    #1017185
    Khaled
    Participant

    you 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.

    #1017187
    Martina Didáková
    Participant

    Thanyk you very much 🙂

    #1017188
    Martina Didáková
    Participant

    please 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?

    #1017810
    Andre Flores
    Moderator

    Hello, 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,
    Andre

    #1019254
    Martina Didáková
    Participant

    Hi, 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

    #1019796
    Martina Didáková
    Participant

    Can you help me please?

    #1020735
    Andre Flores
    Moderator

    Hello, 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,
    Andre

    #1020741
    Martina Didáková
    Participant

    Thank 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)?

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.