@Faiz said in Not abe to change homepage background:
@zayno70 I had the same issue, try and select "Recompile templates if the files have been updated"
https://prnt.sc/muy8s0
it worked for me
@Faiz said in Not abe to change homepage background:
@zayno70 I had the same issue, try and select "Recompile templates if the files have been updated"
https://prnt.sc/muy8s0
it worked for me
Thanks @Faiz , I will check out thet PWA module. I will also check with my team and see if we can go the native app route then log a ticket for it. :)
Thanks
Hi @Faiz ,
are there any plans for releasing a mobile app for Qloapps? I checked on wekbul store but I cannot see it?
Thanks
Hey @Faiz , is there a dockerized version of 1.4.1? I see the dockerized version is way too outdated?
thanks @rajfartyal and @Faiz , I have got it... Sorry for the delayed response
I am trying to restructure my home page to have Rooms at the top instead of interior. Which file is used to structure these files in the home page? (Interior, Amenities, Rooms, Testimonials.)
:) funny how I just found it now right before I check the forum, thanks @Sumit . this is much appriciated.
Hi guys,
I am trying to find out where ajaxCart.add method is. When I click Book Now button I get this error "Uncaught TypeError: Cannot read property 'length' of undefined"
It looks like I am passing object id that does not exist. I did print the output of ajaxCart.add on hotelcommerce/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js and I get the above error.
I would like to know where is function add from ajaxCart.add coming from so I can debug even further. I have removed the hotel dropdown and only using the location search textbox to get the hotels for the location. I have a feeling that it's caused by that but I get the hotel rooms fine, the problem starts when I click on "Book Now" button.
Below is the function I am on:
$(document).off('click', '.ajax_add_to_cart_button').on('click', '.ajax_add_to_cart_button', function(e) {
e.preventDefault();
var idProduct = parseInt($(this).data('id-product'));
var idProductAttribute = parseInt($(this).data('id-product-attribute'));
var dateFrom = $(this).attr('cat_rm_check_in');
var dateTo = $(this).attr('cat_rm_check_out');
/* By Webkul
* Note : In our case minimalQuantity is taken from Qty. field
*/
// var minimalQuantity = parseInt($(this).data('minimal_quantity'));
var minimalQuantity = parseInt($(this).data('minimal_quantity'));
var minimalQuantity = $("#cat_quantity_wanted_" + idProduct).val();
if (!minimalQuantity)
minimalQuantity = 1;
console.log("datefrom:" + dateFrom);
console.log("dateTo: " + dateTo );
console.log("Produict ID: " + idProduct );
console.log("minimal Quantity: " + minimalQuantity );
if ($(this).prop('disabled') != 'disabled')
**ajaxCart.add(idProduct, idProductAttribute, false, this, minimalQuantity, null, dateFrom, dateTo);**
AjaxVariable = ajaxCart.add(idProduct, idProductAttribute, false, this, minimalQuantity, null, dateFrom, dateTo);
console.log("p**rinting ajax")
console.log(AjaxVariable);
});
Thanks
@Sumit I have already figured it out, thanks. I am customizing the the front page to only use the hotel location search textbox and remove the hotel dropdown. I followed the process as per this question I asked a few weeks ago -> https://forums.qloapps.com/topic/258/pass-parameters-to-the-categorycontroller
This is now fixed. thanks