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

Pre-Owned 2022 Ford Mustang GT Premium

  • VIN: 1FA6P8CF6N5145399
  • Stock: T32842A

Basic Info

  • Exterior:
    Shadow Black
  • Drivetrain:
    RWD
  • Interior:
    Ebony
  • Transmission:
    10-Speed Automatic w/OD
  • Engine:
    Premium Gasoline V-8 5.0 L/302
  • Fuel Efficiency:
    15 CITY / 24 HWY
  • Mileage:
    33,543

Key Features

  • Android Auto
  • Apple CarPlay
  • Backup Camera
  • Blind Spot Monitor
  • Bluetooth
  • Fog Lights
  • Interior Accents
  • Keyless Entry
  • Lane Departure Warning
  • Leather Seats
  • Parking Sensors / Assist
  • Power Seats
  • Push Start
  • Rain Sensing Wipers
  • Remote Start
  • Satellite Radio Ready
  • Side-Impact Air Bags
  • WiFi Hotspot

History Report

Description

ONLY 33,122 Miles! Heated/Cooled Leather Seats, Apple CarPlay®, WiFi Hotspot, Dual Zone A/C, Onboard Communications System, iPod/MP3 Input, Back-Up Camera, Premium Sound System, Aluminum Wheels, ENGINE: 5.0L TI-VCT V8, Satellite Radio

KEY FEATURES INCLUDE
Leather Seats, Heated Driver Seat, Cooled Driver Seat, Back-Up Camera, Premium Sound System, iPod/MP3 Input, Onboard Communications System, Aluminum Wheels, Dual Zone A/C, WiFi Hotspot, Apple CarPlay®, Lane Keeping Assist, Blind Spot Monitor, Heated Seats. Rear Spoiler, MP3 Player, Keyless Entry, Steering Wheel Controls, Electronic Stability Control.

OPTION PACKAGES
TRANSMISSION: 10-SPEED SELECTSHIFT AUTOMATIC paddle shifters, Leather-Wrapped Shift Knob, Remote Start System, 3.15 Limited Slip Rear Axle Ratio, MINI SPARE WHEEL & TIRE, ENGINE: 5.0L TI-VCT V8 Port Fueled Direct Injection (PFDI) (STD). Ford GT Premium with Shadow Black exterior and Ebony interior features a 8 Cylinder Engine with 450 HP at 7000 RPM*.

Pricing analysis performed on 11/16/2026. Horsepower calculations based on trim engine configuration. Please confirm the accuracy of the included equipment by calling us prior to purchase.
This Dealership checks the vehicle recall status prior to making any pre-owned vehicle available for sale. Manufacturers and/or NHTSA may announce additional recalls at any time. To inquire about the recall status of this vehicle, visit: https://vinrcl.safercar.gov/vin/

Vehicle Details

Exterior

  • Autolamp Auto On/Off Projector Beam Led Low/High Beam Daytime Running Auto High-Beam Headlamps w/Delay-Off
  • Black Grille
  • Black Side Windows Trim
  • Body-Colored Door Handles
  • Body-Colored Front Bumper
  • Body-Colored Power Heated Side Mirrors w/Manual Folding
  • Body-Colored Rear Bumper
  • Fixed Rear Window w/Defroster
  • Front Fog Lamps
  • Galvanized Steel/Aluminum Panels
  • Headlights-Automatic Highbeams
  • LED Brakelights
  • Light Tinted Glass
  • Lip Spoiler
  • Speed Sensitive Rain Detecting Variable Intermittent Wipers
  • Tire Mobility Kit
  • Tires: 235/50ZR18 BSW AS
  • Trunk Rear Cargo Access
  • Wheels w/Locks
  • Wheels: 18 x 8 Machined-Face Aluminum -inc: high-gloss ebony black-painted pockets

Interior

  • 2 12V DC Power Outlets
  • 2 Monitors In The Front
  • 50-50 Folding Bench Front Facing Fold Forward Seatback Vinyl Rear Seat
  • 6-Way Passenger Seat -inc: Manual Recline and Manual Rear Seat Easy Entry
  • 8-Way Driver Seat -inc: Manual Recline
  • 9 Performance Speakers
  • Air Filtration
  • Analog Appearance
  • Cargo Features -inc: Tire Mobility Kit
  • Cargo Space Lights
  • Climate Controlled Heated/Cooled Front Seats
  • Compass
  • Cruise Control w/Steering Wheel Controls
  • Day-Night Auto-Dimming Rearview Mirror
  • Delayed Accessory Power
  • Digital Signal Processor
  • Driver And Passenger Visor Vanity Mirrors w/Driver And Passenger Illumination, Driver And Passenger Auxiliary Mirror
  • Driver Foot Rest
  • Driver Information Center
  • Dual Zone Front Automatic Air Conditioning
  • Fixed Antenna
  • Fixed Rear Windows
  • FOB Controls -inc: Keyfob Cargo Access and Keyfob Window Activation
  • FordPass Connect Mobile Hotspot Internet Access
  • Front Center Armrest
  • Front Cupholder
  • Front Map Lights
  • Full Carpet Floor Covering -inc: Carpet Front Floor Mats
  • Full Cloth Headliner
  • Full Floor Console w/Covered Storage, Mini Overhead Console w/Storage and 2 12V DC Power Outlets
  • Garage Door Transmitter
  • Gauges -inc: Speedometer, Odometer, Voltmeter, Oil Pressure, Engine Coolant Temp, Tachometer, Oil Level, Oil Temperature, Transmission Fluid Temp, Trip Odometer and Trip Computer
  • Illuminated Locking Glove Box
  • Instrument Panel Covered Bin, Driver And Passenger Door Bins
  • Interior Trim -inc: Aluminum Instrument Panel Insert and Chrome/Aluminum Interior Accents
  • Leather-Trimmed Bucket Seats -inc: 6-way power driver seat w/power lumbar, 4-way power passenger seat, driver memory recline and 4-way adjustable front head restraints
  • Leather/Aluminum Gear Shifter Material
  • Leather/Aluminum Steering Wheel
  • Leatherette Door Trim Insert
  • Manual Tilt/Telescoping Steering Column
  • Manual w/Tilt Front Head Restraints and Adjustable Rear Head Restraints
  • Outside Temp Gauge
  • Perimeter Alarm
  • Power 1st Row Windows w/Driver And Passenger 1-Touch Up/Down
  • Power Door Locks w/Autolock Feature
  • Proximity Key For Doors And Push Button Start
  • Radio w/Seek-Scan, Clock, Speed Compensated Volume Control, Aux Audio Input Jack, Steering Wheel Controls, Voice Activation, Radio Data System and External Memory Control
  • Radio: AM/FM Stereo -inc: 9-speaker sound system w/amplifier
  • Rear Carpet Floor Trim
  • Redundant Digital Speedometer
  • Remote Keyless Entry w/Integrated Key Transmitter, Illuminated Entry, Illuminated Ignition Switch and Panic Button
  • Remote Releases -Inc: Power Cargo Access
  • Seats w/Leatherette Back Material
  • Securilock Anti-Theft Ignition (pats) Immobilizer
  • SiriusXM Radio -inc: 3 months prepaid subscription, Service is not available in AK or HI, Subscriptions to all SiriusXM services are sold by SiriusXM after trial period, 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 SiriusXM at 1-866-635-2349, See SiriusXM customer agreement for complete terms at www.siriusxm.com, All fees and programming subject to change, Sirius, XM and all related marks and logos are trademarks of Sirius XM Radio Inc
  • Streaming Audio
  • SYNC 3 Communications & Entertainment System -inc: enhanced voice recognition, 8 LCD capacitive touch screen in center stack w/swipe capability, AppLink, 911 Assist, Apple CarPlay and Android Auto compatibility and 2 smart charging USB ports
  • Trip Computer

Mechanical

  • 16 Gal. Fuel Tank
  • 3.55 Axle Ratio
  • 4-Wheel Disc Brakes w/4-Wheel ABS, Front And Rear Vented Discs, Brake Assist and Hill Hold Control
  • 50-State Emissions System
  • Battery w/Run Down Protection
  • Dual Stainless Steel Exhaust w/Polished Tailpipe Finisher
  • Electric Power-Assist Speed-Sensing Steering
  • Engine: 5.0L Ti-VCT V8 -inc: Port Fueled Direct Injection (PFDI)
  • Front And Rear Anti-Roll Bars
  • Gas-Pressurized Shock Absorbers
  • Mechanical Limited Slip Differential
  • Multi-Link Rear Suspension w/Coil Springs
  • Rear-Wheel Drive
  • Regenerative Alternator
  • Strut Front Suspension w/Coil Springs
  • Transmission: 6-Speed Manual -inc: dual mass flywheel, twin disc clutch and rev matching

Safety

  • ABS And Driveline Traction Control
  • AdvanceTrac Electronic Stability Control (ESC)
  • Airbag Occupancy Sensor
  • Back-Up Camera
  • Collision Mitigation-Front
  • Curtain 1st And 2nd Row Airbags
  • Driver And Passenger Knee Airbag
  • Driver Monitoring-Alert
  • Dual Stage Driver And Passenger Front Airbags
  • Dual Stage Driver And Passenger Seat-Mounted Side Airbags
  • Ford Co-Pilot360 - Automatic Emergency Braking (AEB)
  • Lane Keeping Alert Lane Departure Warning
  • Lane Keeping Alert Lane Keeping Assist
  • Mykey System -inc: Top Speed Limiter, Audio Volume Limiter, Early Low Fuel Warning, Programmable Sound Chimes and Beltminder w/Audio Mute
  • Outboard Front Lap And Shoulder Safety Belts -inc: Pretensioners
  • Rear Parking Sensors
  • Side Impact Beams
  • Tire Specific Low Tire Pressure Warning

Details

  • ENGINE: 5.0L TI-VCT V8 -inc: Port Fueled Direct Injection (PFDI) (STD)
  • TRANSMISSION: 10-SPEED SELECTSHIFT AUTOMATIC -inc: paddle shifters Leather-Wrapped Shift Knob Remote Start System 3.15 Limited Slip Rear Axle Ratio
  • MINI SPARE WHEEL & TIRE
  • Rear Wheel Drive
  • Power Steering
  • ABS
  • 4-Wheel Disc Brakes
  • Brake Assist
  • Locking/Limited Slip Differential
  • Aluminum Wheels
  • Tires - Front Performance
  • Tires - Rear Performance
  • Wheel Locks
  • Heated Mirrors
  • Power Mirror(s)
  • Rear Defrost
  • Intermittent Wipers
  • Variable Speed Intermittent Wipers
  • Rain Sensing Wipers
  • Rear Spoiler
  • Daytime Running Lights
  • Automatic Headlights
  • LED Headlights
  • Automatic Highbeams
  • Fog Lamps
  • AM/FM Stereo
  • Satellite Radio
  • Requires Subscription
  • Premium Sound System
  • MP3 Capability
  • Steering Wheel Audio Controls
  • Auxiliary Audio Input
  • Premium Sound System
  • Satellite Radio
  • Requires Subscription
  • Heated Front Seat(s)
  • Cooled Front Seat(s)
  • Pass-Through Rear Seat
  • Rear Bench Seat
  • Adjustable Steering Wheel
  • Trip Computer
  • WiFi Hotspot
  • Leather Steering Wheel
  • Keyless Entry
  • Power Door Locks
  • Keyless Start
  • Keyless Entry
  • Power Door Locks
  • Universal Garage Door Opener
  • Cruise Control
  • Climate Control
  • Multi-Zone A/C
  • A/C
  • Power Driver Seat
  • Power Passenger Seat
  • Leather Seats
  • Bucket Seats
  • Driver Adjustable Lumbar
  • Auto-Dimming Rearview Mirror
  • Driver Vanity Mirror
  • Passenger Vanity Mirror
  • Driver Illuminated Vanity Mirror
  • Passenger Illuminated Visor Mirror
  • Floor Mats
  • Keyless Start
  • MP3 Capability
  • Bluetooth Connection
  • Telematics
  • Auxiliary Audio Input
  • Smart Device Integration
  • Requires Subscription
  • Power Windows
  • Power Door Locks
  • Trip Computer
  • Security System
  • Immobilizer
  • Traction Control
  • Stability Control
  • Traction Control
  • Front Side Air Bag
  • Blind Spot Monitor
  • Lane Departure Warning
  • Lane Keeping Assist
  • Lane Departure Warning
  • Front Collision Mitigation
  • Driver Monitoring
  • Rear Parking Aid
  • Tire Pressure Monitor
  • Driver Air Bag
  • Passenger Air Bag
  • Front Head Air Bag
  • Rear Head Air Bag
  • Passenger Air Bag Sensor
  • Knee Air Bag
  • Driver Restriction Features
  • Back-Up Camera
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(); });