/ Published in: jQuery
This is partial code for calling a custom foxycart shipping request.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//call the api request and pass it all of your necessary paramters, state, address, store_id, etc. var url = "https://websevenpointo.foxycart.com/v/0.7.0/api_json.php?shipping_state=" + State ..."; $('#result').html(""); $('#divLoading').show(); $.ajax({ url: url, dataType: 'jsonp', success: function(j){ GetRatesCallback(j) } });