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

Pre-Owned 2025 Kia K5 GT-Line

  • VIN: KNAG64J7XS5296003
  • Stock: XH13608

Basic Info

  • Exterior:
    Aurora Black Pearl
  • Drivetrain:
    AWD
  • Interior:
    Black
  • Transmission:
    8-Speed Automatic w/OD
  • Engine:
    2.5L 4 Cylinder Engine
  • Fuel Efficiency:
    24 CITY / 33 HWY
  • Mileage:
    14,514

Key Features

  • AWD
  • Android Auto
  • Apple CarPlay
  • Backup Camera
  • Blind Spot Monitor
  • Bluetooth
  • Collision Avoidance
  • Fog Lights
  • Interior Accents
  • Keyless Entry
  • Lane Departure Warning
  • Navigation System
  • Panoramic Sunroof
  • Parking Sensors / Assist
  • Premium Audio
  • Premium Package
  • Push Start
  • Remote Start
  • Side-Impact Air Bags

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

  • Auto On/Off Reflector Led Low/High Beam Daytime Running Auto High-Beam Headlamps w/Delay-Off
  • Black Power Heated Side Mirrors w/Manual Folding and Turn Signal Indicator
  • Body-Colored Door Handles
  • Body-Colored Front Bumper
  • Body-Colored Rear Bumper w/Metal-Look Rub Strip/Fascia Accent and Chrome Bumper Insert
  • Chrome Side Windows Trim, Black Front Windshield Trim and Chrome Rear Window Trim
  • Compact Spare Tire Mounted Inside Under Cargo
  • Fixed Rear Window w/Defroster
  • Front Fog Lamps
  • Fully Galvanized Steel Panels
  • Headlights-Automatic Highbeams
  • Laminated Glass
  • LED Brakelights
  • Light Tinted Glass
  • Metal-Look Grille
  • Perimeter/Approach Lights
  • Steel Spare Wheel
  • Tires: P235/45R18 AS
  • Trunk Rear Cargo Access
  • Variable Intermittent Wipers

Interior

  • 1 12V DC Power Outlet
  • 2 Monitors In The Front
  • 2 Seatback Storage Pockets
  • 6 Speakers
  • 60-40 Folding Bench Front Facing Fold Forward Seatback Rear Seat
  • Air Filtration
  • Cargo Space Lights
  • Cruise Control w/Steering Wheel Controls
  • Day-Night Rearview Mirror
  • Delayed Accessory Power
  • Digital Appearance
  • Driver / Passenger And Rear Door Bins
  • Driver And Passenger Visor Vanity Mirrors w/Driver And Passenger Illumination, Driver And Passenger Auxiliary Mirror
  • Driver Foot Rest
  • Driver Information Center
  • Driver Seat
  • Dual Zone Front Automatic Air Conditioning
  • FOB Controls -inc: Keyfob Cargo Access and Keyfob Remote Start
  • Front Center Armrest and Rear Center Armrest
  • Front Cupholder
  • Front Map Lights
  • Full Carpet Floor Covering
  • Full Cloth Headliner
  • Full Floor Console w/Covered Storage, Mini Overhead Console and 1 12V DC Power Outlet
  • Gauges -inc: Speedometer, Odometer, Engine Coolant Temp, Tachometer, Oil Level, Trip Odometer and Trip Computer
  • Glove Box
  • HVAC -inc: Underseat Ducts
  • Immobilizer
  • Integrated Navigation System w/Voice Activation
  • Interior Trim -inc: Chrome/Metal-Look Interior Accents
  • Leather Gear Shifter Material
  • Manual Adjustable Front Head Restraints and Manual Adjustable Rear Head Restraints
  • Manual Tilt/Telescoping Steering Column
  • Outside Temp Gauge
  • Passenger Seat
  • Perimeter Alarm
  • Power 1st Row Windows w/Driver And Passenger 1-Touch Up/Down
  • Power Door Locks w/Autolock Feature
  • Power Fuel Flap Locking Type
  • Power Rear Windows
  • Proximity Key For Doors And Push Button Start
  • Radio w/Seek-Scan, Clock, Speed Compensated Volume Control, Steering Wheel Controls, Radio Data System and External Memory Control
  • Rear Carpet Floor Trim
  • Rear Cupholder
  • Redundant Digital Speedometer
  • Remote Keyless Entry w/Integrated Key Transmitter, Illuminated Entry, Illuminated Ignition Switch and Panic Button
  • Remote Releases -Inc: Smart Trunk Proximity Cargo Access and Power Fuel
  • Smart Cruise Control with Stop & Go (SCC w/S&G)
  • Smart Device Integration
  • Sport Heated Leather Steering Wheel
  • Streaming Audio
  • Trip Computer
  • Turn-By-Turn Navigation Directions
  • Window Grid Antenna
  • Wireless Phone Connectivity

Mechanical

  • 15.8 Gal. Fuel Tank
  • 150 Amp Alternator
  • 3.51 Axle Ratio
  • 4-Wheel Disc Brakes w/4-Wheel ABS, Front Vented Discs, Brake Assist, Hill Hold Control and Electric Parking Brake
  • Automatic Full-Time All-Wheel Drive
  • Electric Power-Assist Speed-Sensing Steering
  • Front And Rear Anti-Roll Bars
  • Gas-Pressurized Shock Absorbers
  • Multi-Link Rear Suspension w/Coil Springs
  • Single Stainless Steel Exhaust
  • Strut Front Suspension w/Coil Springs
  • Transmission w/Driver Selectable Mode and Sequential Shift Control
  • Transmission: 8-Speed Automatic -inc: drive mode select system

Safety

  • ABS And Driveline Traction Control
  • Airbag Occupancy Sensor
  • Collision Mitigation-Front
  • Curtain 1st And 2nd Row Airbags
  • Driver Knee Airbag and Rear Side-Impact Airbag
  • Driver Monitoring-Alert
  • Dual Stage Driver And Passenger Front Airbags
  • Dual Stage Driver And Passenger Seat-Mounted Side Airbags
  • Electronic Stability Control (ESC)
  • Emergency Sos Capability
  • Highway Driving Assist (HDA)
  • Lane Departure Warning System (LDWS) Lane Departure Warning
  • Lane Departure Warning System (LDWS) Lane Keeping Assist
  • Outboard Front Lap And Shoulder Safety Belts -inc: Rear Center 3 Point, Height Adjusters and Pretensioners
  • Parking Distance Warning - Forward & Reverse (PDW-F&R) Front And Rear Parking Sensors
  • Power Rear Child Safety Locks
  • Rear Cross-Traffic Collision Avoidance (RCCA)
  • Rear View Monitor with Parking Guidance Back-Up Camera
  • Side Impact Beams
  • Tire Specific Low Tire Pressure Warning

Details

  • CARGO NET
  • WHEEL LOCKS
  • GT-LINE PREMIUM PACKAGE -inc: Bose Premium Audio 12 speakers including center speaker subwoofer and external amplifier Active Sound Design LED Interior Lighting Panoramic Sunroof
  • AURORA BLACK PEARL
  • CARGO MAT
  • BLACK SYNTEX SEAT TRIM
  • CARPETED FLOOR MATS
  • Auto On/Off Reflector Led Low/High Beam Daytime Running Auto High-Beam Headlamps w/Delay-Off
  • Trunk Rear Cargo Access
  • Compact Spare Tire Mounted Inside Under Cargo
  • Light Tinted Glass
  • Laminated Glass
  • Fixed Rear Window w/Defroster
  • Headlights-Automatic Highbeams
  • Body-Colored Rear Bumper w/Metal-Look Rub Strip/Fascia Accent and Chrome Bumper Insert
  • Perimeter/Approach Lights
  • Front Fog Lamps
  • Variable Intermittent Wipers
  • LED Brakelights
  • Black Power Heated Side Mirrors w/Manual Folding and Turn Signal Indicator
  • Body-Colored Door Handles
  • Fully Galvanized Steel Panels
  • Steel Spare Wheel
  • Chrome Side Windows Trim Black Front Windshield Trim and Chrome Rear Window Trim
  • Tires: P235/45R18 AS
  • Body-Colored Front Bumper
  • Metal-Look Grille
  • Wheels: 18 x 7.5J Gloss Black Machined Finish Alloy -inc: diamond cutting pattern
  • Transmission w/Driver Selectable Mode and Sequential Shift Control
  • 150 Amp Alternator
  • Transmission: 8-Speed Automatic -inc: drive mode select system
  • 4-Wheel Disc Brakes w/4-Wheel ABS Front Vented Discs Brake Assist Hill Hold Control and Electric Parking Brake
  • Electric Power-Assist Speed-Sensing Steering
  • Front And Rear Anti-Roll Bars
  • Automatic Full-Time All-Wheel Drive
  • Multi-Link Rear Suspension w/Coil Springs
  • 68-Amp/Hr 760CCA Maintenance-Free Battery w/Run Down Protection
  • 15.8 Gal. Fuel Tank
  • Strut Front Suspension w/Coil Springs
  • Gas-Pressurized Shock Absorbers
  • 3.51 Axle Ratio
  • Engine: 2.5L GDI I4
  • Single Stainless Steel Exhaust
  • Streaming Audio
  • Outside Temp Gauge
  • Front Center Armrest and Rear Center Armrest
  • Manual Tilt/Telescoping Steering Column
  • Manual Adjustable Front Head Restraints and Manual Adjustable Rear Head Restraints
  • 60-40 Folding Bench Front Facing Fold Forward Seatback Rear Seat
  • Driver Information Center
  • SynTex Seat Trim -inc: GT-Line logo
  • Wireless Phone Connectivity
  • Remote Keyless Entry w/Integrated Key Transmitter Illuminated Entry Illuminated Ignition Switch and Panic Button
  • Perimeter Alarm
  • Air Filtration
  • 6 Speakers
  • Full Carpet Floor Covering
  • Glove Box
  • Day-Night Rearview Mirror
  • Driver Seat
  • Cruise Control w/Steering Wheel Controls
  • Kia Connect Selective Service Internet Access
  • Full Floor Console w/Covered Storage Mini Overhead Console and 1 12V DC Power Outlet
  • Power Fuel Flap Locking Type
  • Radio: AM/FM Audio System -inc: 6 speakers 12.3 display screen navigation HD Radio satellite digital radio USB telematics Bluetooth voice recognition wireless Android Auto and Apple CarPlay
  • Power Rear Windows
  • HVAC -inc: Underseat Ducts
  • Redundant Digital Speedometer
  • Heated Front Bucket Seats -inc: 8-way power adjustable driver seat w/2-way lumbar support and 6-way manually adjustable front passenger seat (double recline slide and height adjustment)
  • Smart Device Integration
  • 1 12V DC Power Outlet
  • Radio w/Seek-Scan Clock Speed Compensated Volume Control Steering Wheel Controls Radio Data System and External Memory Control
  • Driver And Passenger Visor Vanity Mirrors w/Driver And Passenger Illumination Driver And Passenger Auxiliary Mirror
  • Gauges -inc: Speedometer Odometer Engine Coolant Temp Tachometer Oil Level Trip Odometer and Trip Computer
  • Dual Zone Front Automatic Air Conditioning
  • Turn-By-Turn Navigation Directions
  • Remote Releases -Inc: Smart Trunk Proximity Cargo Access and Power Fuel
  • Driver Foot Rest
  • Integrated Navigation System w/Voice Activation
  • Leather Gear Shifter Material
  • Driver / Passenger And Rear Door Bins
  • Full Cloth Headliner
  • Front Map Lights
  • Passenger Seat
  • Rear Carpet Floor Trim
  • Rear Cupholder
  • Smart Cruise Control with Stop & Go (SCC w/S&G)
  • Cargo Space Lights
  • Sport Heated Leather Steering Wheel
  • 2 Seatback Storage Pockets
  • 2 Monitors In The Front
  • Window Grid Antenna
  • Trip Computer
  • Digital Appearance
  • FOB Controls -inc: Keyfob Cargo Access and Keyfob Remote Start
  • Proximity Key For Doors And Push Button Start
  • Front Cupholder
  • Delayed Accessory Power
  • Power 1st Row Windows w/Driver And Passenger 1-Touch Up/Down
  • Immobilizer
  • Power Door Locks w/Autolock Feature
  • Interior Trim -inc: Chrome/Metal-Look Interior Accents
  • Black Power Heated Side Mirrors w/Manual Folding and Turn Signal Indicator
  • Heated Front Bucket Seats -inc: 8-way power adjustable driver seat w/2-way lumbar support and 6-way manually adjustable front passenger seat (double recline slide and height adjustment)
  • Sport Heated Leather Steering Wheel
  • Leather Gear Shifter Material
  • Automatic Full-Time All-Wheel Drive
  • 4-Wheel Disc Brakes w/4-Wheel ABS Front Vented Discs Brake Assist Hill Hold Control and Electric Parking Brake
  • Blind-Spot Collision-Avoidance Assist (BCA) Blind Spot Warning
  • Tire Specific Low Tire Pressure Warning
  • Rear View Monitor with Parking Guidance Back-Up Camera
  • Turn-By-Turn Navigation Directions
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(); });