Location-Specific Issues
Overview
Location-specific issues are caused by a small set of Location fields in Sanity. This page maps symptoms to the specific fields that control the behavior.
Location fields that control behavior
These fields appear on every Location document.
Show on Locations Page
Controls whether the location:
- Appears in the public locations listing
- Has a public location detail page
Hide Inventory CTA
Hides the View Inventory CTA.
This is used for service-only locations.
Show in Form Flows
Controls which form selectors include the location.
Examples of selector types:
- Trade In
- Finance App
- Service Schedule
- Order Parts
- Contact Us
If a location is not listed for a selector type, it will not appear in that form flow.
Departments
Departments control operational details for the location, including hours.
Each department has per-day isOpen, openTime, and closeTime.
Identities
Identities connect the location to external systems.
This includes external IDs used for:
- IMS inventory matching
- Review platforms
Causes and fixes
A location is not available in a form selector
Cause:
- The location is not included in the relevant showIn[] selector type.
Fix:
- Add the selector type to showIn[] (for example, tradeInSelector).
- Publish the Location document.
A location’s inventory is not showing on the SRP
Cause:
Inventory in Meilisearch is matched to locations through the DMS dealer code stored in identities.
If the DMS identity is missing, uses the wrong namespace, or has an incorrect value, vehicles for that location will not appear when filtering by location.
Fix:
- Correct the IMS identity on the Location document.
- Publish the Location document.
- If inventory remains unchanged, an inventory re-sync may be required for the corrected identity to apply to indexed inventory.
Location hours are wrong
Cause:
- Hours are defined per department inside departments[].
Fix:
- Update isOpen, openTime, and closeTime on the correct department.
- Publish.
A location does not appear on the Locations page
Cause:
- show_on_locations_page is disabled.
Fix:
- Enable show_on_locations_page.
- Publish.
Reviews are not showing
Checks:
- Review documents have show: true.
- The sectionReviews block ratingThreshold is not filtering them out.
- If the page is in location-specific mode, the correct location is selected in the content block.
Fix:
- Correct the relevant review visibility, threshold, or location selection and publish.
Label overrides are not appearing
Cause:
- Location label overrides are configured via labels[].
Fix:
- Republish the Location document to trigger cache invalidation.