Pass parameters to the CategoryController
I am new to Qloapps, I am trying to pass URL parameters from the RoomSearchWrapper.tpl to the category controller. I have been trying to find out how are they passed but I cannot find anything and the form looks like this :
<form method="POST" id="search_hotel_block_form">
I checked the js file as well but I cannot find nothing. by default it hotel id, check in and check out like this : /index.php?id_category=23&controller=category&date_from=2019-12-03&date_to=2019-12-04
Thanks @Sumit , I found it... much appreciated...
User is redirected to search result page from three places (Search forms) in QloApps.
1. From Landing page serach form https://prnt.sc/q5ep6t
When submitting this form page is redirected (to url with parameters) by function hookDisplayHeader() from the file hotelcommerce/modules/wkroomsearchblock/wkroomsearchblock.php
2. From Search result page serach form https://prnt.sc/q5epo9
When submitting this form page is redirected (to url with parameters) by function hookDisplayLeftColumn() from file hotelcommerce/modules/wkhotelfiltersearchblock/wkhotelfiltersearchblock.php
3. From Room type details serach form https://prnt.sc/q5epx9
When submitting this form page is redirected (to url with parameters) by function init() from the file hotelcommerce/controllers/front/ProductController.php