Overview
- OpenCart is an easy-to-use, powerful, open-source online store management program that can manage multiple online stores from a single back-end.
- The following guide will show you how to integrate your OpenCart store with Starshipit.
- Once completed, your orders will automatically import into Starshipit and the tracking numbers will be written back to OpenCart when you print a label.
1. Download and install the Starshipit extension for OpenCart
There are three OpenCart extensions available from Starshipit. Be sure to check your OpenCart store version and download the correct version. You can download the extension on this link.
2. Create API access for Starshipit in OpenCart
- Log in to your OpenCart Administration site.
- Go to Settings > Users > API.
- Complete API Name.
- Generate the API Key.
- Set Status as Enabled.
- Go to the IP Addresses Tab.
- Add the following IP addresses:
- 104.40.200.176
- 104.40.201.109
- 104.40.204.252
- 104.40.205.110
- 104.40.205.29
- 125.236.208.143
- 13.69.68.2
- 13.70.65.114
- 13.70.65.145
- 13.70.67.84
- 13.70.71.54
- 13.70.71.83
- 13.73.195.135
- 13.75.138.224
- 13.75.144.52
- 13.75.144.82
- 13.75.145.35
- 13.75.149.31
- 137.117.153.170
- 222.154.228.31
- 23.101.208.53
- 23.101.208.54
- 23.101.208.55
- 23.101.208.56
- 23.97.146.237
- 13.70.71.54
- Click Save.
3. Add OpenCart integration with API details in Starshipit
- In Starshipit navigate to Settings > Integrations > Add a new integration > OpenCart.
- Tick Enable OpenCart.
- Tick Use API.
- Enter in your store URL.
- Select your OpenCart version range - 3.0.2.0 or earlier, or 3.0.30 or later.
- Enter the API Name and API Key created in the previous step.
- Click Save.
Troubleshooting
- I have successfully integrated my OpenCart shop but the orders are not coming through.
--> Per default Starshipit import the order with Status = Pending, make sure you have Pending order in OpenCart, or change the "Status to Import" in the settings.
Supported versions
Starshipit's extension supports the following versions of OpenCart:
2.0.1.1 - 2.3.0.2
Version 3
3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0
OpenCart Legacy Integration (deprecated)
1. Implement the PHP files on your website
- Please download the files from here.
- Once downloaded, extract the .zip file. It includes an import.php file and update.php file.
- Login into your Starshipit account and get your API Key which is available under Settings > API Key
- Once you have created your key, enter it into the second line of each file above.
- Look for $apiKey= "Get key from Settings > API Key"; and replace the part of the = with your key
- Copy Files to Server
- Navigate to your OpenCart server root directory and copy the two files from above into the admin folder.
2. Enter the path of the PHP files in Starshipit
- In the Starshipit Main menu Click on Settings > Integration > Add New and select OpenCart from the Add Integration List.
- Tick the 'Enabled' checkbox at the top of the page and enter the full URL to the admin folder on your site (i.e. http://www.yourwebsite.com/admin/).
- Then click 'Save' to apply your changes.
3. Troubleshooting
Q. My orders have not been imported
A. The first step is to verify is that the import.php file is well located and accessible by Starshipit.
Try to access the following URL through your browser: http://www.yourwebsite.com/admin/import.php - if the browser is returning a 404 error please go back and redo the previous steps.
If it returns an execution error, please contact the support team at support@starshipit.com.