How can i get rid of the Children parts

More
8 years 4 months ago #6965 by bluealmondhostel
How can i get rid of the Children parts was created by bluealmondhostel
Hi, being a hostel we don't take children under 18.

-Where can I get rid of the children price breakdown for the extras?






-How can i get rid of the price breakdown for children
-How can i have the breakdown for the extras expanded by default? If people are reviewing their sale, makes more sense to show them all they have purchase without having to click to get details.



Would the changes I make in the code, be overwritten by new versions of solidres?

thank you as always.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #6966 by vietvh
Replied by vietvh on topic How can i get rid of the Children parts
Hi,

For per room's extra: /components/com_solidres/layouts/asset/roomtypeform.php, around line 287 - 289

For per booking's extra: /components/com_solidres/layouts/asset/guestform.php, around line 312 - 314

You can edit this file: /components/com_solidres/layouts/asset/confirmationform.php, line 132

In the same file, you can find these lines and remove the display: none attribute:

<tr class="extracost_confirmation" style="display: none">

Since they are all layout files, you can copy them to your template override and it won't be overwritten during Solidres upgrade.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?