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

Pre-Owned 2020 Ram 1500 Rebel

  • VIN: 1C6SRFLT5LN284117
  • Stock: T201391A

Basic Info

  • Exterior:
    Diamond Black Crystal Pearlcoat
  • Drivetrain:
    4WD
  • Interior:
    Black
  • Transmission:
    8-Speed Automatic w/OD
  • Engine:
    Regular Gasoline V-8 5.7 L/345
  • Fuel Efficiency:
    15 CITY / 21 HWY
  • Mileage:
    101,497

Key Features

  • AWD
  • Adaptive Cruise Control
  • Android Auto
  • Apple CarPlay
  • Backup Camera
  • Blind Spot Monitor
  • Bluetooth
  • Fog Lights
  • Forward Collision Warning
  • Heated Seats
  • Keyless Entry
  • Lane keep assist
  • Navigation System
  • Panoramic Sunroof
  • Parking Sensors / Assist
  • Power Seats
  • Push Start
  • Remote Start
  • Satellite Radio Ready
  • Side-Impact Air Bags
  • Tow Package

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 Headlamps w/Delay-Off
  • Black Fender Flares
  • Black Front Bumper w/Metal-Look Rub Strip/Fascia Accent and 2 Tow Hooks
  • Black Grille
  • Black Power Heated Side Mirrors w/Manual Folding
  • Black Rear Step Bumper
  • Black Side Windows Trim
  • Body-Colored Door Handles
  • Cargo Lamp w/High Mount Stop Light
  • Deep Tinted Glass
  • Front Fog Lamps
  • Front License Plate Bracket
  • Full-Size Spare Tire Stored Underbody w/Crankdown
  • Galvanized Steel/Aluminum Panels
  • Laminated Glass
  • LED Brakelights
  • Perimeter/Approach Lights
  • Power Rear Window
  • Regular Box Style
  • Steel Spare Wheel
  • Tailgate Rear Cargo Access
  • Tailgate/Rear Door Lock Included w/Power Door Locks
  • Tires: LT275/70R18E OWL AT
  • Variable Intermittent Wipers
  • Wheels: 18 x 8 Painted Black

Interior

  • 1 Monitor In The Front
  • 2 12V DC Power Outlets
  • 2 12V DC Power Outlets and 1 Interior 120V AC Power Outlet
  • 4 Way Front Headrests
  • 4-Way Passenger Seat -inc: Manual Recline and Fore/Aft Movement
  • 6 Speakers
  • 8-Way Power Driver Seat -inc: Power Recline, Height Adjustment, Fore/Aft Movement and Cushion Tilt
  • Analog Appearance
  • Bucket Seats
  • Cab Mounted Cargo Lights
  • Compass
  • Cruise Control w/Steering Wheel Controls
  • Day-Night Rearview Mirror
  • Delayed Accessory Power
  • Driver Information Center
  • Fixed Antenna
  • Front Center Armrest w/Storage and Rear Center Armrest
  • Front Facing Cloth/Vinyl Rear Seat
  • Front Map Lights
  • Front Seat Back Map Pockets
  • Full Carpet Floor Covering -inc: Vinyl/Rubber Front And Rear Floor Mats
  • Full Cloth Headliner
  • Full Floor Console w/Covered Storage, Mini Overhead Console, 2 12V DC Power Outlets and 1 Interior 120V AC Power Outlet
  • Full Length Upgraded Floor Console
  • Gauges -inc: Speedometer, Odometer, Voltmeter, Oil Pressure, Engine Coolant Temp, Tachometer, Oil Temperature, Transmission Fluid Temp, Engine Hour Meter, Trip Odometer and Trip Computer
  • GPS Antenna Input
  • HVAC -inc: Underseat Ducts and Console Ducts
  • Illuminated Front Cupholder
  • Illuminated Locking Glove Box
  • Instrument Panel Bin, Dashboard Storage, Driver / Passenger And Rear Door Bins
  • Leather Steering Wheel
  • Manual Adjustable Rear Head Restraints
  • Manual Air Conditioning
  • Manual Tilt/Telescoping Steering Column
  • Metal-Look Gear Shifter Material
  • Outside Temp Gauge
  • Passenger Visor Vanity Mirror w/Passenger Illumination
  • Power 1st Row Windows w/Driver And Passenger 1-Touch Up/Down
  • Power 4-Way Driver Lumbar Adjust
  • Power Door Locks w/Autolock Feature
  • Power Rear Windows
  • Proximity Key For Push Button Start Only
  • Radio w/Seek-Scan, Clock, Aux Audio Input Jack, Steering Wheel Controls, Voice Activation, Radio Data System and External Memory Control
  • Radio: Uconnect 3 w/5 Display
  • Rear 60/40 Folding Seat
  • Rear Cupholder
  • Redundant Digital Speedometer
  • Remote Keyless Entry w/Integrated Key Transmitter, Illuminated Entry and Panic Button
  • Seats w/Cloth Back Material
  • Sentry Key Immobilizer
  • SiriusXM Satellite Radio
  • Streaming Audio
  • Trip Computer
  • Valet Function
  • Vinyl Door Trim Insert
  • Wireless Phone Connectivity

Mechanical

  • 1590# Maximum Payload
  • 26 Gal. Fuel Tank
  • 3.92 Rear Axle Ratio
  • 4 Skid Plates
  • 48V Belt Starter Generator
  • 50 State Emissions
  • 730CCA Maintenance-Free Battery
  • Auto Locking Hubs
  • Bilstein Brand Name Shock Absorbers
  • Class IV Towing Equipment -inc: Hitch and Trailer Sway Control
  • Driver Selectable Rear Locking Differential
  • Electric Power-Assist Steering
  • Electronic Transfer Case
  • Engine Auto Stop-Start Feature
  • Engine oil cooler
  • Engine: 3.6L V6 24V VVT eTorque UPG I
  • Front And Rear Anti-Roll Bars
  • GVWR: 6,900 lbs
  • Lithium Ion (li-Ion) Traction Battery 0.43 kWh Capacity
  • Off-Road Suspension
  • Part-Time Four-Wheel Drive
  • Regenerative 4-Wheel Disc Brakes w/4-Wheel ABS, Front Vented Discs, Brake Assist, Hill Descent Control, Hill Hold Control and Electric Parking Brake
  • Short And Long Arm Front Suspension w/Coil Springs
  • Single Stainless Steel Exhaust
  • Solid Axle Rear Suspension w/Coil Springs
  • Trailer Wiring Harness
  • Transmission w/Driver Selectable Mode
  • Transmission: 8-Speed Automatic (850RE)

Safety

  • ABS And Driveline Traction Control
  • Airbag Occupancy Sensor
  • Curtain 1st And 2nd Row Airbags
  • Dual Stage Driver And Passenger Front Airbags
  • Dual Stage Driver And Passenger Seat-Mounted Side Airbags
  • Electronic Stability Control (ESC) And Roll Stability Control (RSC)
  • Outboard Front Lap And Shoulder Safety Belts -inc: Rear Center 3 Point, Height Adjusters and Pretensioners
  • ParkSense Rear Parking Sensors
  • ParkView Back-Up Camera
  • Rear Child Safety Locks
  • Side Impact Beams
  • Tire Specific Low Tire Pressure Warning

Details

  • DIAMOND BLACK CRYSTAL PEARLCOAT
  • DIAMOND BLACK CRYSTAL PEARLCOAT
  • PARKSENSE FRONT/REAR PARK ASSIST W/STOP
  • BLIND SPOT & CROSS PATH DETECTION
  • MONOTONE PAINT
  • BLACK APPEARANCE PACKAGE -inc: Black Front Bumper w/Black Plate Black Exterior Truck Badging Black Outline Mustache Grille Texture 3 Monotone Paint Black 4x4 Tailgate Badge Wheels: 18 x 8.0 Gloss Black Black Headlamp Bezels Body Color Door Handles RAM Grille Badge - Black
  • REBEL LEVEL 2 EQUIPMENT GROUP -inc: Radio: Uconnect 4 w/8.4 Display Remote Start System Rear Window Defroster Rain Sensitive Windshield Wipers ParkSense Front/Rear Park Assist w/Stop Rear View Auto Dim Mirror Power Adjustable Pedals Rear Dome w/On/Off Switch Lamp 115V Auxiliary Rear Power Outlet 2 USB Full Function/Charge Only Media Hub Rear Underseat Compartment Storage Remote Proximity Keyless Entry Universal Garage Door Opener Heated Front Seats Heated Steering Wheel Foam Bottle Insert (Door Trim Panel) Single Disc Remote CD Player Security Alarm Black Premium Power Mirrors Sun Visors w/Illuminated Vanity Mirrors
  • RAMBOX CARGO MANAGEMENT SYSTEM
  • SAFETY/CONVENIENCE GROUP -inc: Adaptive Cruise Control w/Stop & Go Auto High Beam Headlamp Control Full Speed Forward Collision Warning Plus Lane Keep Assist
  • RADIO: UCONNECT 12 W/NAVIGATION -inc: Google Android Auto SiriusXM Traffic Plus USB Host Flip Disassociated Touchscreen Display HD Radio For Details Visit DriveUconnect.com Integrated Center Stack Radio 1-Yr SiriusXM Guardian Trial 12 Touchscreen Display 5-Year SiriusXM Travel Link Service GPS Navigation 5-Year SiriusXM Traffic Service SiriusXM Travel Link 4G LTE Wi-Fi Hot Spot SiriusXM w/360L Apple CarPlay LED Footwell Lighting
  • GVWR: 7 100 LBS
  • TRANSMISSION: 8-SPEED AUTOMATIC (8HP75)
  • REBEL 12 -inc: harman/kardon 19 Speaker Premium Sound Radio: Uconnect 12 w/Navigation Google Android Auto SiriusXM Traffic Plus USB Host Flip Disassociated Touchscreen Display HD Radio For Details Visit DriveUconnect.com Integrated Center Stack Radio 1-Yr SiriusXM Guardian Trial 12 Touchscreen Display 5-Year SiriusXM Travel Link Service GPS Navigation 5-Year SiriusXM Traffic Service SiriusXM Travel Link 4G LTE Wi-Fi Hot Spot SiriusXM w/360L Apple CarPlay LED Footwell Lighting
  • WHEELS: 18 X 8.0 GLOSS BLACK
  • BLACK LUX LEATHER TRIMMED BUCKET SEATS -inc: Heated Front Seats Heated Steering Wheel Power 4-Way Passenger Lumbar Adjust Power 8-Way Driver & Passenger Seats
  • REMOTE START SYSTEM
  • DUAL-PANE PANORAMIC SUNROOF -inc: Premium Overhead Console Dome Dual LED Reading Lamp Overhead LED Lamps
  • TRAILER BRAKE CONTROL
  • ENGINE: 5.7L V8 HEMI MDS VVT -inc: Active Noise Control System Heavy Duty Engine Cooling Dual Exhaust w/Black Tips GVWR: 7 100 lbs Hemi Badge 220 Amp Alternator
  • QUICK ORDER PACKAGE 25W REBEL -inc: Engine: 5.7L V8 HEMI MDS VVT Transmission: 8-Speed Automatic (8HP75) Body Color Door Handles
  • Four Wheel Drive
  • Locking/Limited Slip Differential
  • Tow Hitch
  • Power Steering
  • ABS
  • 4-Wheel Disc Brakes
  • Brake Assist
  • Lithium Ion Traction Battery
  • Aluminum Wheels
  • Tires - Front All-Terrain
  • Tires - Rear All-Terrain
  • Conventional Spare Tire
  • Tow Hooks
  • Heated Mirrors
  • Power Mirror(s)
  • Privacy Glass
  • Intermittent Wipers
  • Variable Speed Intermittent Wipers
  • Power Door Locks
  • Daytime Running Lights
  • Automatic Headlights
  • LED Headlights
  • Fog Lamps
  • AM/FM Stereo
  • Satellite Radio
  • Bluetooth Connection
  • Requires Subscription
  • MP3 Capability
  • Steering Wheel Audio Controls
  • Auxiliary Audio Input
  • Satellite Radio
  • Requires Subscription
  • Bluetooth Connection
  • Power Driver Seat
  • Adjustable Steering Wheel
  • Trip Computer
  • Power Windows
  • Driver Adjustable Lumbar
  • Pass-Through Rear Seat
  • Rear Bench Seat
  • Leather Steering Wheel
  • Keyless Start
  • Keyless Entry
  • Power Door Locks
  • Cruise Control
  • A/C
  • Bucket Seats
  • Passenger Vanity Mirror
  • Passenger Illuminated Visor Mirror
  • Floor Mats
  • Power Windows
  • Power Door Locks
  • Trip Computer
  • Power Driver Seat
  • Immobilizer
  • Traction Control
  • Stability Control
  • Traction Control
  • Front Side Air Bag
  • Rear Parking Aid
  • Tire Pressure Monitor
  • Driver Air Bag
  • Passenger Air Bag
  • Front Head Air Bag
  • Rear Head Air Bag
  • Passenger Air Bag Sensor
  • Child Safety Locks
  • 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(); });