Hi jan.
This is not working when I changed the the first day of the week to Saturday the total amount display 0,00 and all other days gave me the wrong value.
So this weekprice thing is not working for me.
Is there a possibility to have Saturday to Saturday booking and using the day price.
I used the script below to make a difference for week and day bookings on the calendar, but when I have a week then I can’t use the day price.
I want the date-picker to show only Saturdays for the Gite and Karsten and for other bookings show all the days.
But I want for calculation only the day price for all.
function bookings_dagen(){
if(document.getElementById(“dagtest”).value ==’gite’){
document.getElementById(“booking_type”).value=’week’;
}else if(document.getElementById(“dagtest”).value ==’karsten’){
document.getElementById(“booking_type”).value=’week’;
}else {
document.getElementById(“booking_type”).value=’day’;
}
}