Skip to main content
image

Appointment Request at Santa Ana Auto Care

Thank You!

Your appointment request has been received. You will receive a follow up email or phone call to confirm your appointment.

"); if(strcmp("0", "1") == 0) { $hoursStart = ""; $hoursEnd = ""; $currentHour = date('H'); $sendText = true; if(!empty($hoursStart) && !empty($hoursEnd) && ($currentHour < $hoursStart || $currentHour >= $hoursEnd) ) { $sendText = false; // TODO: notify somebody send text is selected, but required fields may not be set in Edit } $date = new DateTime(); $summaryMsg = 'Full form submission data is available in your email.'; $textSummary = 'Appointment Request Submission' . PHP_EOL; $textSummary .= 'From: ' . $name . PHP_EOL; $textSummary .= 'Phone: ' . $phone . PHP_EOL; $textSummary .= 'Message: ' . $comments . PHP_EOL; if ($sendText) { $phone_list_array = explode(",",$phone_list); foreach ($phone_list_array as $tmpPhone) { mail($tmpPhone, "", $textSummary, "From: Repair Shop Websites ", '-fnoreply@repairshopwebsites.com'); mail($tmpPhone, "", $summaryMsg, "From: Repair Shop Websites ", '-fnoreply@repairshopwebsites.com'); } } else { if (!file_exists('../messageQueue')) { mkdir('../messageQueue', 0755, true); } $date = new DateTime(); $timestamp = $date->getTimestamp(); $myfile = fopen("../messageQueue/6310.requestQuote." . $date->getTimestamp() . ".txt", "a") or die("Unable to open file!"); $textArr = array ('hoursStart'=>$hoursStart,'hoursEnd'=>$hoursEnd,'phoneList'=>$phone_list,'from'=>"Repair Shop Websites ",'textSummary'=>$textSummary, 'summaryMsg'=>$summaryMsg, 'content'=>$comments); $textTxt = json_encode($textArr); fwrite($myfile, $textTxt); fclose($myfile); } } } else { array_unshift($emailParams, array("header" => "SHOPWARE ERROR", "value" => "There was an issue with sending the appointment to shopware. All the information from the appointment is here, but it may not be in Shopware. An email has been sent to Repair Shop Websites to try to see what the issue is.")); doEmail($to, "noreply@repairshopwebsites.com", "*** ERROR WITH SHOPWARE: " . $subjectLocation. " APPOINTMENT REQUEST for ". $name . " ***", $emailParams, "

Thank You!

Your appointment has been reserved.

"); } } else { print_form($response); } } else { $response = "

There are errors on the form. Please completely fill out all required fields.


"; print_form($response); } } else { print_form(""); } function print_form($error){ if ($_SERVER["REQUEST_METHOD"] === "POST") { $name = $_POST['name']; $phone = $_POST['phone']; $email = $_POST['email']; $method = $_POST['method']; $year = $_POST['year']; $make = $_POST['make']; $model = $_POST['model']; $vin = $_POST['vin']; $appointment = $_POST['appointment']; $date1 = $_POST['date1']; $time = $_POST['time']; $comments = $_POST['comments']; } else { $name = ""; $phone = ""; $email = ""; $method = ""; $year = ""; $make = ""; $model = ""; $vin = ""; $appointment = ""; $date1 = ""; $time = ""; $comments = ""; } //error variables $nameErr = ""; $phoneErr = ""; $emailErr = ""; $methodC = ""; $methodT = ""; $methodE = ""; $date1Err = ""; $timeErr = ""; $vehicleY = ""; $vehicleN = ""; $appointmentD = ""; $appointmentW = ""; $yearErr = ""; $makeErr = ""; $modelErr = ""; $vinErr = ""; if ($_SERVER["REQUEST_METHOD"] === "POST") { if($name == null || strlen(trim($name)) == 0){ $nameErr = "*"; } if($phone == null || strlen(trim($phone)) == 0){ $phoneErr = "*"; } if($email == null || strlen(trim($email)) == 0){ $emailErr = "*"; } if($method == 'Phone Call'){ $methodC = "checked"; }else if($method == 'Text'){ $methodT = "checked"; } else if($method == 'Email'){ $methodE = "checked"; } if($date1 == null || strlen($date1) == 0){ $date1Err = "*"; } if($time == null || strlen($time) == 0){ $timeErr = "*"; } if($appointment == 'Drop Off'){ $appointmentD = "checked"; }else if($appointment == 'Waiting'){ $appointmentW = "checked"; } if($year == null || strlen(trim($year)) == 0){ $yearErr = "*"; } if($make == null || strlen(trim($make)) == 0){ $makeErr = "*"; } if($model == null || strlen(trim($model)) == 0){ $modelErr = "*"; } if(!(strlen(trim($vin)) == 0 || strlen(trim($vin)) == 17)){ $vinErr = "*"; } } // figure out what days are full and plug that into the javascript $formsArrayJSON = []; if (file_exists("../formArchive/6310.txt") && strlen(file_get_contents("../formArchive/6310.txt")) >= 2) { // parse the json into an array $fileContents = file_get_contents("../formArchive/6310.txt"); $lastComma = strrpos($fileContents, ",", -1); $formJsonString = "{\"forms\": [" . substr($fileContents, 0, $lastComma) . "]}"; $formsArrayJSON = json_decode($formJsonString, true); } // data from the database. this variable is an array $dbFormData = [6652 => [5, []]]; // add json data to the db data if (sizeof($formsArrayJSON) > 0 ) { $formsArray = $formsArrayJSON["forms"]; for ($i = 0; $i < count($formsArray); $i++) { // only look at forms called Appointment Request if ($formsArray[$i]["form"] == "Appointment Request") { if (isset($dbFormData[ (int)$formsArray[$i]["locationId"] ])) { $arrayToAddTo =& $dbFormData[ (int)$formsArray[$i]["locationId"] ][1]; $dateToUpdate = $formsArray[$i]["appointmentDate"]; $dateToUpdate = str_replace("/", "-", $dateToUpdate); // if there isnt an entry for this date yet, add one if (!isset($arrayToAddTo[$dateToUpdate])) { $arrayToAddTo += [$dateToUpdate => 0]; } $arrayToAddTo[$dateToUpdate]++; } } } } // fill an array of dates that are already full $blockedDates = "["; foreach ($dbFormData as $locationId => $locData) { $blockedDates .= "[{$locationId}, ["; $maxCarsPerDay = $locData[0]; forEach($locData[1] as $date => $cars) { // if the cars on that day exceed the max, add it to the blocked dates if ($cars >= $maxCarsPerDay) { $blockedDates .= "'" . $date . "', "; } } // trim off the last , and setup for the if (substr($blockedDates, -1) != "[") { $blockedDates = substr($blockedDates, 0, -2); } $blockedDates .= "]], "; } // if its empty, then there are no configured locations -- make an empty array if (strlen($blockedDates) <= 1) { $blockedDates = "[]"; } else { $blockedDates = substr($blockedDates, 0, -2) . "]"; } $publickey = "6LcEdLwSAAAAAHp4MTljGMG_gBlPHPZ-Nu1RACUY"; $recap = recaptcha_get_html($publickey); echo <<
$error

Request an auto repair appointment at Santa Ana Auto Care in Houston

Once your auto repair appointment has been confirmed, simply drop your car or truck off at our repair shop at 5512 W 34th St, Houston, TX on the scheduled day. We'll give you a call when it is ready. Discover for yourself why we are a trusted name in auto repair in Houston. No more waiting! Just fill out the appointment form below or call now at 713-543-8771!

Location

This location is not currently accepting online appointments.

Personal Information

Preferred Method of Contact

Appointment Information

Type of Appointment

Appointment Date & Time

(Please give a 48 hour minimum notice)

Vehicle Information

$vinErr

Services Requested/Comments


END; } ?>

Discover More About Appointments and Repair Services At Santa Ana Auto Care in Houston

Alignment Services
Computer Diagnostics
Coupons

Contact Us Today!

Got questions? We've got answers! Drop us a line, give us a call, or even stop by. Our team is eager to help you with any auto repair needs you have. Let's get you back on the road safely and swiftly!

What Our Customers Are Saying

Reasonably priced. Excellent customer service. Family owned. Can't say enough about how wonderful they are!

Houston, TX

I love this place 2 guys first thing helped me by the names of Maher floor manager and Ernesto the mechanic found my problem first thing that others couldn't find and pin pointed what was the problem and even adjusted my brakes at no cost... awesome guys and awesome business

Houston, TX

The ladies in the office were great and Maher was the best. A great place to take your vehicle.

Houston, TX

They are super friendly and honest, I highly recommend going to them for any type of vehicle repairs.

Houston, TX

Savings & Specials

Discover the latest deals and discounts we offer. Take advantage of our seasonal promotions & coupons and find out how you can save on your next visit to our shop.

Alignment Service
$69.99

Brake Pad Replacement
$25 Off

Brake Service
$50 Off

Decorative background image

Partners

  • repairpal
  • carfax


  • TECH-NET Professional Auto Service - Trans