• Resolved Harsh Goyal

    (@harshgoyaa)


    Hi Team,

    in both admin and Customer Mail Body “Accommodation Rate” Field is showing “Accommodation Type” Value

    Exmaple

    Accommodation Type : Deluxe Room

    Accommodation Rate: 500

    in the mail Body it is coming like

    Accommodation Type : Deluxe Room

    Accommodation Rate: Deluxe Room

    Can you please help with the same.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Harsh Goyal

    (@harshgoyaa)

    Just Following up on this, could any one please help with the same.

    thanks in advance.

    Thread Starter Harsh Goyal

    (@harshgoyaa)

    i have found the place were i have to update the code in plugin files but not sure what would be the variable that i have to update it with.

    Edit Plugin File -> Templates -> Emails -> reserved-room-details.php

    <br/>
    <?php echo esc_html( sprintf( __( 'Accomodation Rate: %s', 'motopress-hotel-booking' ), '%room_type_title%' ) ); ?>
    <br/>

    I have to replace “room_type_title” with the Rate of the Accommodation. Not sure what would is the variable used. Can you please tell what is the variable name i have to use for the accommodation Rate Field to get populated.

    Plugin Support eugenewhite

    (@eugenewhite)

    Hello there! 

    Sorry for the delayed response. 

    I sure get what you’re trying to complete, but I have to disappoint you because at this moment there’s no plugin functionality that can be used to display the rate’s value (nightly price) instead of the rate’s title in admin and customer emails, unfortunately. Besides, I’m not sure I understand the reason why you would like to do it this way when there are other email tags like %booking_total_price% (Total Booking Price) and %price_breakdown% (Price Breakdown table where all the costs can be found) available. But anyway, I’m afraid you can’t customize this email tag and make it display a nightly rate instead of a rate’s title. 

    Thread Starter Harsh Goyal

    (@harshgoyaa)

    hi @eugenewhite

    Thank you for your response, this helps.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Accommodation Rate” Field in Email body showing “Accommodation Type”’ is closed to new replies.