Plugins
OpenCart 4 Plugin
Install and configure the Linkit middleware plugin for OpenCart 4.
OpenCart 4 Bridge Plugin
Provides inventory, orders, and offers sync endpoints for OpenCart 4.x stores.
Download
Requirements
- OpenCart 4.0+
- PHP 8.0+
Installation
- Go to Admin → Extensions → Installer
- Upload linkit.ocmod.zip without renaming it. The filename determines the extension directory.
- Go to Extensions → Extensions → Modules
- Find Linkit Middleware and click Install, then Edit
- Set status to Enabled and configure your API key
Configuration
| Setting | Description |
|---|---|
| Status | Enable/Disable the module |
| Linkit URL | Your Linkit instance URL |
| Plugin Key | API key for authentication |
Endpoints
| Endpoint | Method | Description |
|---|---|---|
/index.php?route=extension/linkit/module/linkit_api.health | GET | Health check |
/index.php?route=extension/linkit/module/linkit_api.inventory | POST | Update price, quantity, and availability |
/index.php?route=extension/linkit/module/linkit_api.orders | GET | Recent orders |
/index.php?route=extension/linkit/module/linkit_api.offers | POST | Upsert offers |
The health endpoint is public. Other endpoints require the X-Linkit-Plugin-Key header.
In Linkit, install OpenCart Inventory, OpenCart Orders, or OpenCart Offers, enter your store URL, select OpenCart 4, and save the same plugin key as the API key. Verify the connection before enabling synchronization.
Orders use a modification-time cursor and order ID to avoid skipping orders changed in the same second. Offers create or update a coupon restricted to its selected product; withdrawing an offer disables its coupon.