Built on WIX Headless

Tutorials / tutorial

How to Build a Car Dealer Website in Wix Harmony with Searchable Vehicle Listings

· car dealer website Wix Harmony

How to Build a Car Dealer Website in Wix Harmony with Searchable Vehicle Listings

A car dealer site is an inventory browser: structured vehicle specs, photos, filters for make and price, featured units on the homepage, detail pages, and inquiry CTAs—usually without a full ecommerce checkout.

Related patterns: product catalog and real estate listings. This walkthrough is the automotive version—searchable stock, formatted price/mileage, galleries, and inquiry forms.

On Harmony without a site yet: free starter site.

What you’ll put on the site

PieceTypical choice
StockVehicles CMS collection
Inventory gridRepeater (or Table for dense stock lists)
BrowseSearch & filters (make, model, price, availability)
Homepage teaserSecond Repeater on Home with a fixed “Featured” filter
Detail URLNative collection page + Dynamic Page
PhotosImage + Media Gallery field on the item page
InquireForm (or mailto / phone on the card)

Sample Vehicles collection schema

FieldTypeNotes
Vehicle nameTextDisplay title (e.g. 2022 Honda Civic EX)
MakeTextFilter + dependent model filter
ModelTextFilter
YearNumber
PriceNumberStore the amount only—format currency on the widget
MileageNumberStore km or miles as a number—add unit in Formatting
Main photoImageCard + detail hero
GalleryMedia GalleryExtra photos on the detail page
Body typeTextSUV, Sedan, …
TransmissionText
FuelText
AvailabilityTextAvailable / Sold / Incoming
FeaturedBoolean or TextHomepage spotlight
Short descriptionTextCard teaser
DescriptionText (long)Detail page
VIN or stock #TextOptional

Add a representative mix: several makes, Available and Sold, a few Featured.

Step 1 — Model Vehicles

  1. Create the Vehicles collection with the schema above.
  2. Enter real-looking stock so filters and formatting are obvious (price as 25000, mileage as 42000—not $25,000 or 42,000 km in the cell).
  3. Choose More actions → Add collection page for per-vehicle URLs.

Step 2 — Inventory grid

  1. Add Repeater on an Inventory (or Cars) page.
  2. Connect Vehicles; map Main photo, Vehicle name, Price, Year, Make, Model, Mileage.
  3. Use a card grid; tune image Cover vs Contain so side profiles stay consistent—see Customize Repeater cards.
  4. Optionally add Table on a staff-only or “full stock” page for dense columns.

Step 3 — Currency and mileage without duplicated units

Keep units out of the CMS number cells so sorting and price filters stay numeric.

  1. Open Formatting on the Repeater (and later on Dynamic Page).
  2. For Price, choose an appropriate number/currency Format, and use Advanced format if you need a symbol after the value (for example a trailing €) or other rich text around {{value}}.
  3. For Mileage, format the number and add a km or mi suffix via Advanced format—do not also type km into every CMS row.
  4. Set When empty so missing mileage collapses on the card.

Docs: Field formatting.

Step 4 — Filters for make, model, price, availability

  1. Open Search & filters.
  2. Add visitor filters (Show filter): Make, Model, Price range, Availability, optional Body type.
  3. Turn on Dependent filter so Model options narrow after Make (and after search, if you use it).
  4. Add a fixed Choose value filter if the public inventory should hide Sold by default (Availability = Available).
  5. Set Filters display to Top or Side; publish and try make → model → price paths.

Docs: Search & filters · Dependent filters.

  1. Add another Repeater on Home; connect the same Vehicles collection.
  2. Map a smaller field set (photo, name, price).
  3. Add a Choose value filter: Featured = true (or Featured = Yes)—no visitor UI.
  4. Link cards to the same Dynamic Page path as the inventory grid.

One collection powers homepage + inventory; editors only toggle Featured in the CMS.

Step 6 — Vehicle detail pages and photo galleries

  1. On the native collection page, add Dynamic Page; connect Vehicles.
  2. Map Description, specs, Main photo, and Gallery.
  3. Set Page path / Item slug; enable Link to item page on both Repeaters.
  4. For gallery video (if any), set playback under Formatting / widget video options.

Walkthrough: Dynamic Pages.

Step 7 — Inquiry buttons

  1. Add a Form on the detail page (or a shared Inquire page) connected to an Inquiries collection (Name, Email, Phone, Message, optional Vehicle interest).
  2. Or link a button to tel: / a contact page from the card.
  3. Optionally use Hidden fields (Pro) to stamp the current page URL or stock number into the submission.

Form basics: Save form submissions to CMS.

Optional: if a vehicle should check out from the CMS row, use catalog payments (Enable payments + Add to cart / Buy now on the Repeater or Dynamic Page).

Optional AI setup shortcut

Use AI setup to draft the Vehicles schema and Repeater field map from a prompt listing the columns you need. Re-check number Formatting (no duplicated € / km in the data) and Featured / Availability Choose value filters before publishing.

Live-site verification checklist

  1. Inventory shows Available stock only (if you fixed that filter); Sold stays hidden.
  2. Price and mileage render with the correct symbol/unit once—not €25000€ or 42000 km km.
  3. Make → Model dependent filters work; price range narrows results.
  4. Homepage Featured Repeater shows only featured units; links open the correct vehicle URL.
  5. Detail page shows gallery + specs; inquiry Form creates a CMS row.
  6. Edit price in the CMS; live cards update after refresh / data refresh.

FAQ

How do I show price and mileage without duplicating € or km in the CMS?

Keep Price and Mileage as numbers only. On the Repeater and Dynamic Page, use Field formatting—including Advanced format for a currency symbol or km / mi around the value—so units appear once on the live widget.

Can visitors filter by make and model together?

Yes—add Show filter on Make and Model, and turn on Dependent filter so Model options narrow after Make (and after search when you use it). See Dependent filters.

How do I show sold cars in an archive but not in the main grid?

Use two Repeaters (or one with different fixed filters): main inventory Choose value Availability = Available; archive page = Sold.

Ready to try it on Harmony? Get a free starter site CMS for Harmony