Bridge Connector
What Is the Bridge Connector?
The bridge connector is a PHP file (himigration-bridge.php) that gets uploaded to the root directory of your source PrestaShop store. It acts as a secure API endpoint that MigraPro uses to query data, download images, and transfer files.
Setup Steps
1. Generate the Connector
In the MigraPro wizard on your target store:
- Enter your source store URL
- Click Generate Connector — this creates the bridge file and a unique authentication token
- Click Download Connector to save the PHP file
2. Upload to Source Store
Upload the himigration-bridge.php file to the root directory of your source PrestaShop installation (the same directory where index.php lives).
3. Test Connection
Click Test Connection in MigraPro. A successful test returns:
- Source store PrestaShop version
- Source store name
- Database table prefix
Security
- All requests are authenticated with a unique token
- The bridge supports SSL verification (configurable)
- The bridge file should be removed from the source store after migration is complete
Bridge Actions
The connector supports these operations:
- check — Verify connection and return store info
- query — Execute read-only database queries
- count — Get entity record counts
- image — Download product/category/manufacturer images
- image_check — Batch-verify which images exist before downloading
- file — Download attachments and virtual product files
- custom_tables — List non-core database tables for custom migration
- custom_table_structure — Get the schema of a custom table