This object is in archive! 
Availability Checking blocked
Not a Problem
Checker is no longer working on chrome. It gives a warning in the browser, then "load unsafe scripts" has to be checked for it to work. Is there a way to fix this?
Files:
availability.png
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You can't vote. Please authorize!
You need to have https:// instead of http:// in the script on your product pages. You have what is below. See bolded.
function checkAvail(item){ startdate = $('[name="'+item+'"]').val(); url = "http://www.inflatableoffice.com/quotes/check_availability.php?callback=?"; + "&name=San+Diego+Bouncers" + "&startdate="+startdate + "&starttime=08:00" + "&duration=16" + "&usecushion=1" + "&showlocations=0" + "&rental_names="+item; $.getJSON( url, function( data ) { var items = []; $.each( data, function( rental_name, qty ) { //items.push( rental_name + ": " + qty + " Available" ); items.push( qty + " Available" ); });
You need to have https:// instead of http:// in the script on your product pages. You have what is below. See bolded.
function checkAvail(item){ startdate = $('[name="'+item+'"]').val(); url = "http://www.inflatableoffice.com/quotes/check_availability.php?callback=?"; + "&name=San+Diego+Bouncers" + "&startdate="+startdate + "&starttime=08:00" + "&duration=16" + "&usecushion=1" + "&showlocations=0" + "&rental_names="+item; $.getJSON( url, function( data ) { var items = []; $.each( data, function( rental_name, qty ) { //items.push( rental_name + ": " + qty + " Available" ); items.push( qty + " Available" ); });
Makes sense. Thank you for the quick reply.
Makes sense. Thank you for the quick reply.
Replies have been locked on this page!