Car parts
The Car Parts plugin finds spare parts for a vehicle by its VIN, checks prices and stock in the CoraHB e-shop, and manages the workshop's cart, orders and order history there.
Install
- Open Settings → Available plugins and install Car parts. It requires Chetty 0.30.47 or later.
- Grant the plugin to every account that should use it. Tools are granted per account, so an account without a grant sees none of them.
Instance settings
An administrator fills in two optional sections in Settings → Access → Car parts:
- PartsLink24: account ID, username and password. This is the exact OEM catalog used for VIN lookups and diagrams.
- TecDoc (Profiauto): username and password. TecDoc covers vehicles that PartsLink24 does not.
Configure at least one of them, or no vehicle can be looked up by VIN. Leave PartsLink24 empty to use TecDoc only, or TecDoc empty to use PartsLink24 only.
Both passwords are stored on the server and never shown again. The plugin reads these values when Chetty starts, so a change takes effect after a restart.
CoraHB login for each account
Each workshop account enters its own CoraHB username and password in its settings, under My account → CoraHB account.
Prices, stock, the cart, orders and order history all use this login. The same settings hold Preferred brands, a list of brands to prefer when several equivalent parts fit, most preferred first.
An account without a CoraHB login gets an error from every e-shop tool. A chat sender who is not linked to a Chetty account has no login either.
Finding parts by VIN
Give the assistant a VIN and get the exact parts list, a diagram and shop equivalents.
Read Find parts by VIN.
Searching the shop
Search by article or OE number, or by name for universal products such as oils, chemicals and tools.
Read Search the shop and build a cart.
Cart
Add one article or several, remove one, and see the basket with its subtotal and total.
Read Search the shop and build a cart.
Ordering in two steps
The assistant checks the basket first and sends the order only after you confirm it.
Read Place and review orders.
Order history
Read past orders live from CoraHB, by date range, one order in detail, or a search term.
Read Place and review orders.
What the plugin keeps on the server
VIN lookups are cached on the server as plain files, so a repeated lookup is quick. Nothing expires: delete a cached entry to refresh it, and the next lookup fetches it again. A damaged entry is logged, deleted and fetched again.
Shop prices, the cart and order history are never cached. Losing the cached files costs only lookup speed, because the data comes back from the suppliers.
Limits
- One PartsLink24 login for the whole instance. PartsLink24 allows one session per login, and each sign-in takes it over from the previous one. A manual sign-in with the same login ends the plugin's session; it signs in again on its next call. Use a login nobody signs in with.
- Sessions are per process. Chetty and each sub-agent run keep their own PartsLink24 and CoraHB sessions. Within one process, calls for one workshop account run one at a time. Two runs that change one basket at the same moment are not serialized, so check the basket after parallel cart work.
- Scraping can break. PartsLink24, Profiauto and CoraHB are read from their web pages. A page change can break a lookup or an order until the plugin is updated. After a failed order, check CoraHB before trying again.
- Diagrams are not highlighted. The image shows the whole diagram, and the reader finds the position on it.
- Prices and stock are what CoraHB returns at the time of the call.