how to hide reservation button?

More
2 months 20 hours ago #20649 by luisolla
how to hide reservation button? was created by luisolla
Hi everybody, customer asked me to hide te reservation button, they want to manage their reservgations personally.

Does anyone knows how to do it without deleting that code line?

If need to delete that line, how can I acess that files?

thanks and regards
Attachments:

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

More
2 months 9 hours ago #20650 by solidres
Replied by solidres on topic how to hide reservation button?
Hi,

You can hide that button by making a template override for this file:

/components/com_solidres/views/roomtype/tmpl/default.php

Regards,

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

More
1 month 3 weeks ago #20664 by luisolla
Replied by luisolla on topic how to hide reservation button?
Thanks ¡
I´ve tried it, but don´t work, even eliminating that item.
(maybe I´m doing it incorrectly)
This is the part I need to override, isn´t int?

<div class="<?php echo SR_UI_GRID_CONTAINER ?> call_to_action">
<div class="<?php echo SR_UI_GRID_COL_12 ?>">
<p>
<a class="btn <?php echo SR_UI_BTN_DEFAULT ?> btn-large"
href="<?php echo SolidresHelperRoute::getReservationAssetRoute($this->item->reservation_asset_id, $this->item->id); ?>">
<?php echo JText::_('SR_SINGLE_ROOM_TYPE_VIEW_CALL_TO_ACTION') ?>
</a>
</p>
</div>
</div>

thnaks and regards

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

More
1 month 3 weeks ago #20665 by solidres
Replied by solidres on topic how to hide reservation button?
Hi,

What is your template override path?

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?