Documentation: Forecourt
Hexon stock import
If you manage your stock in Hexon, the Forecourt - Hexon plugin keeps your website up to date automatically. Hexon sends every change, such as a new car, a price change or a sold car, straight to your website.
Set up the plugin
- Go to System > Plugins, open Forecourt - Hexon and enable it.
- Enter a Webhook token: a long, random secret of your own choice. It makes sure only Hexon can send stock to your website.
- Save the plugin.
| Enable plugin | Switches the import on or off. |
| Webhook token | The secret that Hexon sends with every update. Without a token the plugin refuses all updates. |
| Webhook URL | Shows the address you give to Hexon. |
| Overwrite existing data | When a vehicle already exists, update it with the data from Hexon. Turn this off if you want to edit imported vehicles in Forecourt yourself. |
| Auto-publish new vehicles | Publishes new vehicles straight away. Turn this off if you want to check them before they appear on the website. |
Connect Hexon
Ask Hexon to send your stock to this address, with your own domain and token filled in:
https://www.your-domain.com/index.php?option=com_forecourt&task=hexon.receive&format=raw&token=YOUR-TOKEN
For every update your website answers with OK, or with ERR: and the reason when something went wrong. Hexon shows these answers in its log.
What is imported
Vehicles are matched on their Hexon number, so an update never creates a duplicate. The make, model, version, technical details, colours, price, price type, VAT or margin, MOT date and description are imported. When Hexon reports a vehicle as removed, Forecourt moves it to the trash.
Photos are not imported from Hexon. Add them in Forecourt on the Photos & Options tab of the vehicle.