Skip to content

Manufacturer Lookup

The <manufacturer-lookup> component allows looking up parts directly from the manufacturer's system. It handles order submission and status tracking for manufacturer part lookups.

Live Demo

Try a part number:


Usage

Bundle CDN

<script type="module"
  src="https://cdn.jsdelivr.net/npm/[email protected]/dist/shift-components/shift-components.esm.js">
</script>

<manufacturer-lookup
  base-url="https://your-api.com/"
  language="en">
</manufacturer-lookup>

With Mock Data (Development)

<manufacturer-lookup
  is-dev="true"
  mock-url="/path/to/part-lookup.json"
  language="en">
</manufacturer-lookup>

Properties

Property Attribute Type Default Description
isDev is-dev boolean false Enables development mode with mock data
mockUrl mock-url string '' URL to load mock JSON data from (used when isDev is true)
language language string 'en' Language code for localization
coreOnly core-only boolean false Renders a slim layout without the search input
hiddenFields hidden-fields string '' Comma-separated list of fields to hide
localizationName localization-name string '' Localization variant name

Note

The manufacturer lookup requires EnableManufacturerLookup to be set in LookupOptions on the server side. When this is not enabled, the component will not display manufacturer-specific data.