Linux 软件免费装

Connect for Mobilox

开发者 naiches
更新时间 2026年9月15日 00:31
PHP版本: 8.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

sync inventory vehicles mobilox hexon

下载

1.1.2 1.1.4 1.0.0 1.1.0 1.1.1 1.1.3

详情介绍:

Connect for Mobilox syncs your vehicle inventory from the Mobilox/Hexon dealer management system to your WordPress site. Vehicles are stored as a configurable post type with full data available to your theme. Features: For theme developers: Field names are the Dutch element names of the Mobilox DV voertuig schema, exactly as the feed sends them. $vehicle = mobilox_get_vehicle(); echo esc_html( $vehicle->merk . ' ' . $vehicle->model ); Or field by field, using dot notation for nested elements: echo esc_html( mobilox_get_field( 'bouwjaar' ) ); echo esc_html( mobilox_get_field( 'tellerstand' ) ); echo esc_html( mobilox_get_field( 'verkoopprijs_particulier.bedrag' ) ); Both helpers default to the current post in the loop, and accept a post ID as a second argument. To see exactly which fields your own feed delivers, open a synced vehicle in the editor and look at the Mobilox Vehicle Data meta box.

安装:

  1. Upload the plugin to /wp-content/plugins/ or install via Plugins → Add New.
  2. Activate the plugin.
  3. Go to Mobilox → Settings and select a post type.
  4. Copy the endpoint URL from the Mobilox → Dashboard page into your DV management tool.
  5. Vehicles will sync automatically as Mobilox pushes updates.

屏幕截图:

  • Settings — post type selector, endpoint security, and log retention.

常见问题:

Which post type should I choose?

If your theme already has a vehicle/occasion post type, select that. Otherwise, use the built-in "Mobilox Vehicle" type. You can change this at any time — existing vehicles will continue to work.

How do I access vehicle data in my theme?

Use mobilox_get_vehicle( $post_id ) to get the full data object, or mobilox_get_field( 'merk' ) for a single field. Field names match the Dutch Mobilox DV XML element names (e.g. merk, model, bouwjaar, tellerstand), and dot notation reaches nested elements (e.g. verkoopprijs_particulier.bedrag). The Mobilox Vehicle Data meta box on any synced vehicle lists every field your feed actually sends.

Vehicle updates stopped arriving after I updated the plugin

Before this release, a site that never had a token configured had an open sync endpoint. The update generates a token for you and closes the endpoint, which changes the endpoint URL. Copy the new URL from Mobilox → Dashboard into your DV configuration. The plugin shows a notice on its own pages until you confirm you have done so.

My security plugin blocks the REST API — does sync still work?

Yes. Mobilox pushes without a WordPress login, so plugins that reject all anonymous REST requests would normally block it. This plugin lets a request through that lock-down only when it is addressed to the sync route and carries valid credentials; everything else stays blocked.

Is the sync endpoint secure?

The endpoint requires authentication. Activation generates a secret token for you: copy it from Settings into Mobilox, or replace it with HTTP Basic Auth credentials. Requests without valid credentials are rejected.

更新日志:

1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.0