Set taxes per person in percentage

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1296593
    David Mussard
    Participant

    Hi,

    In my area tourist tax is 5% of the room rent/adult/day . How can I set this please ?
    I could have done a general 5% tax but children are not concerned by this tax.

    Regards,
    David

    #1297050
    David Mussard
    Participant

    In fact their formula is worst :

    $roomPrice / $adults * ($tax['amount']['adults']/100) + $roomPrice / $children * ($tax['amount']['children ']/100);

    It looks like I’ll need to hardcode this into the
    motopress-hotel-booking/includes/entities/reserved-room.php

    and replace the line 434.

    Please notify me if you add this natively into your code.
    Thanks.

    #1297169
    J. Davis
    Keymaster

    Hi David,

    Unfortunately, there is no possibility to add a percentage tax that should be applied to adults only. Also there is no option to override the function safely from updates so you might need to modify the files of the plugin directly.

    best regards,
    J. Davis

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