Connect OpenCart with ProductPolish
Connect your OpenCart shop with ProductPolish. Create an API user in the admin panel and use those credentials.
Prerequisites
- OpenCart 3.x or 4.x
- Admin access to the OpenCart backend
- A REST Admin API Extension must be installed
- HTTPS is recommended
Required credentials
| Field | Example | Description |
|---|---|---|
Shop URL | https://my-shop.com | Base URL of the shop. Without /admin. |
API username | productpolish | The username of the API user. |
API key | (long generated key) | The generated API key of the user. |
Step-by-step guide
Open OpenCart Admin
Go to https://your-shop.com/admin and log in.
Open API management
Navigate to: System→Users→API
Create new API user
Click "Add API" (plus icon top right).
Fill in the form:
- API username:
productpolish(any name) - API key: Click "Generate key"
- Status: Enabled
Add IP address (optional)
In the "IP addresses" tab you can restrict allowed IPs.
Save and copy key
Click "Save" (disk icon top right).
Copy the API username and API key.
Enter in ProductPolish
Go in ProductPolish to Dashboard→Integrations→New connection.
- Select OpenCart as the platform
- Enter your shop URL – without
/admin - Enter the API username
- Enter the API key
- Click "Save connection"
Good to know
- Extension required: The native OpenCart API is limited to checkout operations. A REST Admin API extension is required for product management.
- API versions: OpenCart 3.x and 4.x have slightly different API endpoints. OpenCart 4.x also supports JWT authentication.
- Session-based: The standard OpenCart API uses session-based authentication. ProductPolish automatically creates an API session with your credentials.
- Product images: Images are uploaded to the OpenCart media folder and assigned to the product.
- Languages: For multilingual shops, text is written in the default language.
Common issues
API menu item missing
Make sure you are logged in as admin with full rights. The menu item is under System → Users → API.
"Permission Denied" error
The API user has status "Disabled". Edit the user and set the status to "Enabled".
IP restriction blocks access
If you have configured IP addresses, make sure the ProductPolish server IP is listed, or remove the IP restriction.