Limited Time Offer: Get 0% APR for 75 Months. Shop Fall Savings!

Pre-Owned 2018 Buick Regal TourX Essence

  • VIN: W04GV8SX0J1175542
  • Stock: DT09773A

Basic Info

  • Exterior:
    Darkmoon Blue Metallic
  • Drivetrain:
    AWD
  • Interior:
    Shale
  • Transmission:
    8-Speed Automatic
  • Engine:
    Turbocharged Gas I4 2.0L/122
  • Fuel Efficiency:
    21 CITY / 29 HWY
  • Mileage:
    92,219

Key Features

  • AWD
  • Adaptive Cruise Control
  • Android Auto
  • Apple CarPlay
  • Automatic Climate Control
  • Backup Camera
  • Blind Spot Monitor
  • Bluetooth
  • Fog Lights
  • Hands-Free Liftgate
  • Heated Seats
  • Interior Accents
  • Keyless Entry
  • Lane keep assist
  • Leather Seats
  • Parking Sensors / Assist
  • Power Liftgate
  • Power Seats
  • Rear A/C
  • Remote Start
  • Satellite Radio Ready
  • WiFi Hotspot
  • Wireless Phone Charging

History Report

Description

This vehicle is available for transfer from another Hendrick Automotive Group dealership. All vehicles may not be physically located at this dealership but may be available for delivery through this location. Transportation charges may apply. Please contact the dealership for more specific information. All vehicles are subject to prior sale. Pricing may not include dealer installed accessories or upfits.

Vehicle Details

Exterior

  • Fog Lamps
  • Glass, laminated, acoustic, front side glass
  • Glass, solar absorbing
  • Headlamp control, automatic on and off
  • Mirrors, outside heated power-adjustable
  • Moldings, upper side window, chrome roofline and gloss Black beltline
  • Tire Inflator Kit
  • Tire, spare, none
  • Tires, P235/50R18 all-season, blackwall
  • Wheel, spare, none
  • Wheels, 18 (45.7 cm) aluminum
  • Windshield, solar absorbing
  • Wiper, rear intermittent with washer
  • Wipers, front intermittent, variable

Interior

  • Air conditioning, dual-zone automatic climate control with individual climate settings for driver and right-front passenger
  • Air filtration system
  • Air vents, rear, heating/cooling
  • Audio system, 8 diagonal Buick Infotainment System includes multi-touch display, AM/FM/SiriusXM stereo, Bluetooth streaming audio for music and most phones, Android Auto and Apple CarPlay capability for compatible phones, advanced voice recognition, in-vehicle apps, personalized profiles for infotainment and vehicle settings
  • Compass display, located in the Driver Information Center
  • Cruise control
  • Display, driver instrument information enhanced 4.2 multi-color
  • Floor mats, carpeted front with anchors
  • Floor mats, carpeted rear
  • Head restraints, 2-way adjustable (up/down), front
  • Keyless Start, push-button
  • Lighting, interior, ambient
  • Mirror, inside rearview auto-dimming
  • Noise control system, active noise cancellation
  • Remote panic alarm
  • Remote vehicle starter system
  • Seat adjuster, front passenger 2-way power lumbar
  • Seat adjuster, passenger 8-way power
  • Seat trim, leather-appointed seating
  • Seats, front bucket
  • Seats, heated driver and front passenger
  • Sensor, humidity and windshield temperature
  • SiriusXM Satellite Radio is standard on nearly all 2018 GM models. Enjoy a 3-month All Access trial subscription with over 150 channels including commercial-free music, plus sports, news and entertainment. Plus listening on the app and online is included, so you'll hear the best SiriusXM has to offer, anywhere life takes you. Welcome to the world of SiriusXM. (If you decide to continue service after your trial, the subscription plan you choose will automatically renew thereafter and you will be charged according to your chosen payment method at then-current rates. Fees and taxes apply. To cancel you must call us at 1-866-635-2349. See our Customer Agreement for complete terms at www.siriusxm.com. All fees and programming subject to change.)
  • Speedometer, miles/kilometers
  • Steering column, tilt and telescopic, manual
  • Steering wheel, heated
  • Steering wheel, leather-wrapped 3-spoke
  • Theft-deterrent system, PASS-Key III content theft alarm
  • Visors, driver and front passenger illuminated vanity mirrors
  • Window, power with driver Express-Up/Down
  • Window, power with front passenger Express-Up/Down
  • Windows, power, rear with Express-Down

Mechanical

  • Axle, 3.08 final drive ratio
  • Brake lining, high-performance, noise and dust performance
  • Brake, parking, electronic
  • Brakes, 4-wheel antilock, 4-wheel disc, 17 front and 16 rear
  • Engine control, stop-start system
  • Suspension, front MacPherson strut
  • Suspension, rear 5-link
  • Transmission, 8-speed automatic

Safety

  • Air bag, Passenger Sensing System, sensor indicator inflatable restraint, front passenger/child presence detector (Always use safety belts and child restraints. Children are safer when properly secured in a rear seat in the appropriate child restraint. See the Owner's Manual for more information.)
  • Buick Connected Access with 10 years of standard connectivity which enables services such as, Vehicle Diagnostics, Dealer Maintenance Notification, Buick Smart Driver, Marketplace and more; EFFECTIVE WITH SALES STARTING 5/1/2018. (Limitations apply. Not transferable. Standard connectivity available to original purchaser for ten years from the date of initial vehicle purchase for model year 2018 or newer Buick vehicles. See onstar.com for details and further plan limitations. Connected Access does not include emergency or security services. Availability and additional services enabled by Connected Access are subject to change.)
  • Daytime Running Lamps, LED
  • LATCH system (Lower Anchors and Top tethers for CHildren), for child safety seats in all rear seating positions
  • OnStar and Buick connected services capable; EFFECTIVE WITH RETAIL SALES STARTING 5/1/2018. (Visit onstar.com for coverage map, details and system limitations. Services vary by model.)
  • Rear Vision Camera
  • Safety belts, 3-point, driver and front passenger, height-adjustable includes pretensioners and load limiters
  • Safety belts, 3-point, rear, all seating positions
  • StabiliTrak, stability control system with Traction Control
  • Teen Driver
  • Tire Pressure Monitoring System

Details

  • 4 Cylinder Engine
  • 4-Wheel Disc Brakes
  • 8-Speed A/T
  • ABS
  • Adaptive Cruise Control
  • Adjustable Steering Wheel
  • All Wheel Drive
  • Aluminum Wheels
  • AM/FM Stereo
  • Apple CarPlay
  • Auto-Dimming Rearview Mirror
  • Automatic Headlights
  • Auxiliary Audio Input
  • Back-Up Camera
  • Blind Spot Monitor
  • Bluetooth
  • Bucket Seats
  • Cross-Traffic Alert
  • Cruise Control
  • Daytime Running Lights
  • Driver Adjustable Lumbar
  • Driver Air Bag
  • Driver Illuminated Vanity Mirror
  • Driver Vanity Mirror
  • Engine Immobilizer
  • Floor Mats
  • Fog Lamps
  • Front Head Air Bag
  • Gasoline Fuel
  • Hands-Free Liftgate
  • Headlights-Auto-Leveling
  • Heated Mirrors
  • Heated Seats
  • Heated Steering Wheel
  • Intermittent Wipers
  • Keyless Entry
  • Lane Keeping Assist
  • Leather Seats
  • Leather Steering Wheel
  • Mirror Memory
  • MP3 Player
  • Multi-Zone A/C
  • Pass-Through Rear Seat
  • Passenger Adjustable Lumbar
  • Passenger Air Bag
  • Passenger Illuminated Visor Mirror
  • Passenger Vanity Mirror
  • Power Door Locks
  • Power Driver Seat
  • Power Liftgate
  • Power Mirror(s)
  • Power Passenger Seat
  • Power Windows
  • Rear A/C
  • Rear Head Air Bag
  • Rear Parking Aid
  • Remote Start
  • Remote Trunk Release
  • Satellite Radio
  • Smart Device Integration
  • Stability Control
  • Telematics
  • Tire Pressure Monitor
  • Tires - Front Performance
  • Tires - Rear Performance
  • Turbo/Supercharged
  • Variable Speed Intermittent Wipers
  • WiFi Hotspot
  • LANE KEEP ASSIST
  • MIRRORS OUTSIDE HEATED POWER-ADJUSTABLE DRIVER SIDE AUTO-DIMMING
  • DRIVER CONFIDENCE PACKAGE #2 includes (KSG) Adaptive Cruise Control (UE4) Following Distance Indicator (UEU) Forward Collision Alert (UGN) Forward Automatic Braking (UHX) Lane Keep Assist and (UKJ) Front Pedestrian Braking
  • TRANSMISSION 8-SPEED AUTOMATIC (STD)
  • FORWARD COLLISION ALERT
  • FORWARD AUTOMATIC BRAKING
  • WIRELESS CHARGING
  • REAR CROSS-TRAFFIC ALERT
  • ENGINE 2.0L TURBO DOHC 4-CYLINDER SIDI WITH VARIABLE VALVE TIMING (VVT) (250 hp [186.4 kW] @ 5400 rpm 295 lb-ft of torque (398 N-m) @ 3000 - 4000 rpm) (STD)
  • LANE CHANGE ALERT WITH SIDE BLIND ZONE ALERT
  • LICENSE PLATE BRACKET FRONT
  • SEAT ADJUSTER FRONT PASSENGER 4-WAY POWER LUMBAR
  • MEMORY PACKAGE recalls 2 driver presets for 8-way power driver seat outside mirrors and driver personalization
  • HEADLAMPS LED Includes (T95) Cornering lamps and (TR7) headlamp control.)
  • LAMPS CORNERING
  • SEATS FRONT BUCKET
  • DRIVER CONFIDENCE PACKAGE #1 includes (A45) Memory Package (AVK) driver 4-way power lumbar seat adjuster (AVU) front passenger 4-way power lumbar seat adjuster (DXA) outside heated power-adjustable driver side auto-dimming mirrors (K4C) Wireless Charging (T4L) LED headlamps (T95) cornering lamps (TR7) headlamps with auto leveling (UD7) Rear Park Assist (UFG) Rear Cross Traffic Alert and (UKC) Lane Change Alert with Side Blind Zone Alert
  • SHALE LEATHER-APPOINTED SEAT TRIM with Ebony interior accents
  • SEAT ADJUSTER DRIVER 4-WAY POWER LUMBAR
  • DARKMOON BLUE METALLIC
  • AUDIO SYSTEM 8 DIAGONAL BUICK INFOTAINMENT SYSTEM includes multi-touch display AM/FM/SiriusXM stereo Bluetooth streaming audio for music and most phones Android Auto and Apple CarPlay capability for compatible phones advanced voice recognition in-vehicle apps personalized profiles for infotainment and vehicle settings (STD)
  • HEADLAMP CONTROL LEVELING SYSTEM AUTOMATIC
  • FRONT PEDESTRIAN BRAKING
  • ESSENCE PREFERRED EQUIPMENT GROUP includes standard equipment
  • FOLLOWING DISTANCE INDICATOR
  • CARGO MANAGEMENT REAR STORAGE AREA includes u-rail with adjustable cargo fence under floor storage and retractable cargo shade
  • REAR PARK ASSIST ULTRASONIC WITH AUDIBLE WARNING
  • CRUISE CONTROL ADAPTIVE FULL-SPEED RANGE
  • Turbocharged
  • All Wheel Drive
  • ABS
  • Aluminum Wheels
  • Automatic Headlights
  • Automatic Headlights
  • Fog Lamps
  • Heated Mirrors
  • Power Mirror(s)
  • Intermittent Wipers
  • Intermittent Wipers
  • Remote Trunk Release
  • Power Liftgate
  • Hands-Free Liftgate
  • Satellite Radio
  • MP3 Capability
  • Bluetooth Connection
  • Auxiliary Audio Input
  • Smart Device Integration
  • Requires Subscription
  • Auxiliary Audio Input
  • Satellite Radio
  • Requires Subscription
  • WiFi Hotspot
  • Power Driver Seat
  • Power Passenger Seat
  • Driver Adjustable Lumbar
  • Passenger Adjustable Lumbar
  • Pass-Through Rear Seat
  • Rear Bench Seat
  • Heated Front Seat(s)
  • Leather Seats
  • Leather Steering Wheel
  • Heated Steering Wheel
  • Power Windows
  • Power Windows
  • Power Windows
  • Keyless Entry
  • Power Door Locks
  • Keyless Start
  • Keyless Start
  • Remote Engine Start
  • Security System
  • Cruise Control
  • Security System
  • Immobilizer
  • Climate Control
  • Multi-Zone A/C
  • A/C
  • A/C
  • Rear A/C
  • Auto-Dimming Rearview Mirror
  • Passenger Illuminated Visor Mirror
  • Traction Control
  • Stability Control
  • Daytime Running Lights
  • Front Side Air Bag
  • Front Head Air Bag
  • Rear Head Air Bag
  • Telematics
  • Requires Subscription
  • Back-Up Camera
  • Driver Restriction Features
  • Tire Pressure Monitor
Map of Hendrick Subaru Hoover Location

Get Directions

WE ARE LOCATED AT

2929 John Hawkins Parkway, Hoover, AL 35244

Hendrick Vehicle Disclaimer
$949.00 Dealer Administrative Charge included in advertised price.

All prices exclude all taxes, tag, title, registration fees and government fees. Out of state buyers are responsible for all taxes and government fees and title/registration fees in the state where the vehicle will be registered. All prices include all manufacturer to dealer incentives, which the dealer retains unless otherwise specifically provided. Dealer not responsible for errors and omissions; all offers subject to change without notice; please confirm listings with dealer.

All vehicles may not be physically located at this dealership but may be available for delivery through this location. Transportation charges may apply. Please contact the dealership for more specific information. All vehicles are subject to prior sale.
Additional Disclaimers:

*Now through November 30, 2026 get 1.99% APR Financing for 72 months on a new 2026 Crosstrek. Monthly payment of $14.75 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Crosstrek for $235/month on a 36-month lease (Base trim, code TRA-03). $3,234 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $28,445 (incl. $1,450 freight charge). Net cap cost of $25,346 (incl. $650 acq. fee). Total monthly payments are $8,460. Lease end purchase option is $17,920. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 1.99% APR Financing for 36 months on select new 2026 Forester Sport Models. Monthly payment of $28.64 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Forester for $279/month on a 36-month lease (Base trim, code TFB-01). $4,278 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $31,445 (incl. $1,450 freight charge). Net cap cost of $27,246 (incl. $650 acq. fee). Total monthly payments are $10,044. Lease end purchase option is $18,867. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 0% APR Financing for 75 months on a new 2026 Ascent. Monthly payment of $13.33 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Ascent for $335/month on a 36-month lease (Premium 7 trim, code TCC-12). $4,434 due at lease signing plus tax & license. $0 security deposit.Manufacturer Offer. MSRP $42,245 (incl. $1,450 freight charge). Net cap cost of $35,946 (incl. $650 acq. fee). Total monthly payments are $12,060. Lease end purchase option is $24,502. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 0% APR Financing for 75 months on a new 2026 Outback. Monthly payment of $13.33 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Outback for $299/month on a 36-month lease (Premium trim, code TDD-11). $4,298 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $36,445 (incl. $1,450 freight charge). Net cap cost of $31,796 (incl. $650 acq. fee). Total monthly payments are $10,764. Lease end purchase option is $22,231. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details.

*Now through November 30, 2026 get 0% APR Financing for 75 months on select new 2026 Subaru Models. Monthly payment of $13.33 per $1,000 borrowed. Manufacturer Offer. No down payment required. Offer may vary by location. Other rates and payment terms available. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval and vehicle availability. Vehicle may not be in stock. Estimated delivery to be determined upon ordering. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026. **Now through November 30, 2026 lease a new 2026 Crosstrek for $235/month on a 36-month lease (Base trim, code TRA-03). $3,234 due at lease signing plus tax & license. $0 security deposit. Manufacturer Offer. MSRP $28,445 (incl. $1,450 freight charge). Net cap cost of $25,346 (incl. $650 acq. fee). Total monthly payments are $8,460. Lease end purchase option is $18,205. Must take delivery from retailer stock by November 30, 2026. Other leases available on other trim levels. Cannot be combined with any other offer unless allowed by that offer. Special lease rates extended to well-qualified buyers. Subject to credit & vehicle insurance approval. Inventory may be limited. Not all buyers may qualify. Payments may be higher in some states. Net cap cost & monthly payment excludes tax, license, title, registration, insurance, additional options, & retailer charges. Retailer participation may affect actual payment. At lease end, lessee is responsible for vehicle maintenance & repairs not covered by warranty, excessive wear & tear, 15 cents per mile over 10,000 miles/year and $300 disposition fee (excl. NY and WI). Lessee pays personal property & ad valorem taxes (where applicable) & insurance. Not available in HI. See participating retailer for details. ***Well-qualified customers who purchase a new, used, or certified pre-owned vehicle, 4 model years or newer with less than 60K miles between November 2, 2026 and December 31, 2026, and finance through a participating dealer and lender have the option to defer monthly payments for 90 days from contract date. Excludes Hendrick Performance vehicles. Finance charges begin to accrue on the date you sign the Retail Installment Sale Contract at the Annual Percentage Rate (APR) disclosed in the contract. May not be combined with other preferred lender financing offers. 75 months maximum term limit. Equal monthly payments only. Not available to Pennsylvania residents; see your dealer for details. Must take retail delivery by December 31, 2026. See dealer for complete down payment and interest rate options and details. Financing available to qualified buyers. Some exclusions apply. See dealer for complete details.

*Special finance rates available on select Subaru Certified Pre-Owned used vehicles 2026-2021 model years. Manufacturer offer. No down payment required. Cannot be combined with any other coupon, direct/email offer or promotional offer unless allowed by that offer. Financing for well-qualified applicants only. Length of contract is limited. Subject to credit approval, vehicle insurance approval & vehicle availability. See participating retailers for details. Must take delivery from retailer stock by November 30, 2026.***Well-qualified customers who purchase a new, used, or certified pre-owned vehicle, 4 model years or newer with less than 60K miles between November 2, 2026 and December 31, 2026, and finance through a participating dealer and lender have the option to defer monthly payments for 90 days from contract date. Excludes Hendrick Performance vehicles. Finance charges begin to accrue on the date you sign the Retail Installment Sale Contract at the Annual Percentage Rate (APR) disclosed in the contract. May not be combined with other preferred lender financing offers. 75 months maximum term limit. Equal monthly payments only. Not available to Pennsylvania residents; see your dealer for details. Must take retail delivery by December 31, 2026. See dealer for complete down payment and interest rate options and details. Financing available to qualified buyers. Some exclusions apply. See dealer for complete details.

Connect With Us

Contact Us

Main 659-250-0477
2929 John Hawkins Parkway
Hoover, AL 35244

Get Directions

2929 John Hawkins Parkway, Hoover, AL, 35244
Hendrick Subaru Hoover 33.368921716405026, -86.82027599039188.
window.addEventListener("load", function () { // Add "openXtime" class to buttons with Schedule Service text or href ending var links = Array.from(document.querySelectorAll('a')).filter(function(link) { return link.href.endsWith("/schedule-service/") || link.textContent.toLowerCase().includes("schedule service"); }); links.forEach(function(link) { link.classList.add("openXtime"); link.addEventListener("click", function(event) { event.preventDefault(); if (window.xtime && typeof window.xtime.showC8Modal === "function") { window.xtime.showC8Modal(true); } }); }); // Check for URL parameter or path to auto-open service modal function checkAndOpenServiceModal() { var shouldOpen = false; var urlParams = new URLSearchParams(window.location.search); var intsrc = urlParams.get('intsrc'); var currentPath = window.location.pathname; // Check if URL parameter is present if (intsrc === 'tcom:maps:dealervisit:service') { shouldOpen = true; } // OR check if we're on the schedule-service page else if (currentPath.includes('/schedule-service/') || currentPath.includes('/service/schedule-service/')) { shouldOpen = true; } if (shouldOpen) { // Function to attempt opening the modal function attemptOpenModal() { if (window.xtime && typeof window.xtime.showC8Modal === "function") { window.xtime.showC8Modal(true); return true; // Successfully opened } return false; // xtime not ready yet } // Try immediately if (attemptOpenModal()) { return; // Success! } // If not ready, set up retry mechanism var attempts = 0; var maxAttempts = 50; // Try for up to 5 seconds (50 * 100ms) var retryInterval = setInterval(function() { attempts++; if (attemptOpenModal() || attempts >= maxAttempts) { clearInterval(retryInterval); } }, 100); } } // Check URL parameter/path on page load checkAndOpenServiceModal(); });