I need to change the price format

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1017174

    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

    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

    Thanyk you very much 🙂

    #1017188

    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

    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

    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

    Can you help me please?

    #1020735

    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

    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.