內容簡介
Connect for Mobilox 外掛可將 Mobilox/Hexon 經銷商管理系統中的車輛庫存同步至您的 WordPress 網站,並以可配置的文章類型儲存車輛資料,提供完整的數據支持。
【主要功能】
• 實時同步:自動添加、更新和刪除車輛資料
• 可配置文章類型:支持內建「車輛」類型或自定義類型
• 完整數據儲存:以 JSON 格式存儲所有字段資料
• 圖片管理:僅下載新圖片,保留未更改圖片的附件 ID
• 端點安全:使用秘密令牌或 HTTP Basic Auth 保護同步端點
• 狀態儀表板:查看同步車輛數量、錯誤和活動日誌
外掛標籤
開發者團隊
原文外掛簡介
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:
Real-time sync — vehicles are added, updated, and removed automatically via the DV incremental XML feed.
Configurable post type — sync to the built-in “Vehicle” post type or any existing custom post type in your theme.
Full data storage — every field Mobilox sends is stored in a custom table as JSON, accessible via template helpers.
Image management — diff-based: only new images are downloaded, unchanged images keep their attachment IDs, removed images are cleaned up.
Endpoint security — protect your sync endpoint with a secret token or HTTP Basic Auth.
Status dashboard — see synced vehicle count, errors, last sync time, and a full activity log.
Read-only meta box — view all vehicle data grouped by category on the post editor.
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.
