OpenCart 2
Shipping Module

Shipping is an important part of your eCommerce business, yet its certainly not the first thing you think of when planning your new business. And why should it be?

Seamlessly integrate your website with our shipping platform with the Collivery OpenCart plugin.

Allow customers to get accurate prices for the shipping of their goods, with a click of a button. Point your developer to the Installation Instructions below, or email us at integration@collivery.co.za

Overview

The installation of the Collivery.net plugin is as easy as a few clicks of the mouse, once installed the plugin will only need you to enter your username and password. By default the plugin uses our demo account so that you can test your new plugin before going live.
This plugin gives your OpenCart store the ability to get prices from Collivery.net based on the dimensions and weight of the products added to your client’s cart. After the client paid, the plugin will send the details of the Collivery through to us, or allow you to do so manually in your backend, also allowing you to modify the particulars of the delivery before sending the delivery request to Collivery.net
Once the delivery is accepted, the delivery's details are saved in your database where you can access the delivery in order to track its status and view proof of delivery.

Installation Instructions

Prerequisites

Prerequisites before installing our Collivery.net Extension:

* Disclaimer

Make sure before installing this plugin that you make a full SQL database backup and a full backup of all your files. If for some reason something goes wrong you will need this backup to get your website back to where it was before. Also please note before updating your OpenCart version make sure you confirm with us that the plugin does support the new version.

Setup

First, you download the zip archive containing the module files. You unzip it to your pc, through an ftp client - connect to the server and upload the contents of the admin, catalog, system folders inside upload/ to their respective folders in the OpenCart installation. Be sure to not overwrite any of the folders already there, rather copy the .php files into the folders already there.

Now, go to your browser and navigate to your OpenCart site administration backend. In the "Extensions" menu select "Extension Installer" and upload "mds.ocmod.xml".

Next navigate to "Extensions" menu select "Modifications" and refresh cache. Please note that this will reload ALL the ocmod files that are listed.

Now, go to your browser and navigate to your OpenCart site administration backend. In the extension menu select "Shipping", and click install by the Collivery.net shipping extension.

Click on "Edit" and enable the extension.

To uninstall navigate to "Shipping" in your admin back office, search for the Collivery.net shipping extensions and then click on "uninstall". Next navigate to "Extensions" menu select "Modifications", delete the modification file for Collivery.net and refresh the cache. Please note that this will reload ALL the ocmod files that are listed.

Configuration

To configure navigate to "Shipping" in your admin back office, search for the Collivery.net shipping extension and then click on "Edit".
Here you will enter in your Collivery.net login details, as well as add a markup/handling fee for each service. You can also change the display title that will be used for displaying a quote during the checkout process and indicate if you would like risk cover enabled on your colliveries.

Usage Examples

Shop Integration (Client)

The shopper will check out as per usual. When selecting the delivery method the different services we offer will be displayed with your markup/handling fee already calculated if you specified one as well the display title that was configured in the admin section.

When saving or adding addresses the following fields must be completed otherwise the shipping fee returned may inaccurate or no shipping fee at all will be returned.

Admin Interfaces

To despatch a delivery once ready in your admin back office navigate to "Sale" -> "Orders" and then edit the required order. You will see the MDS shipping tab.
Here you will be able to:

  1. Change collection address
  2. Change Delivery Address
  3. Get a quote
  4. Desptach the delivery
  5. Add collection and delivery addresses

Please make sure the right addresses are being displayed under the Collection and Delivery Addresses sections.

Once you have despatched the collivery you will be able to see the collivery's status. This will also allow you to view the waybill and when there is a POD, to download the waybill.

Uninstall Instructions

Follow these steps in the order they are listed:

  1. Head over to the shipping extensions, and deactivate the shipping method MDS.
  2. On the same page select uninstall (red button) for shipping method MDS
  3. Go to the modifications page, and uninstall MDS Shipping Extension OP v2.1-2.2 (red button)
  4. On the same page select MDS Shipping Extension OP v2.1-2.2, then click on the "delete" button (red trash can)
  5. Refresh the oc mod cache
  6. Then connect to the filesystem and remove the files that you uploaded.
    Specifically:
    • catalog/model/shipping/mds.php
    • admin/controller/shipping/mds.php
    • admin/language/english/shipping/mds.php
    • system/helper/mds/mds_order.php
    • system/helper/mds/mds_address.php
    • system/helper/mds/Cache.php
    • system/helper/mds/Collivery.php
    • system/helper/mds/MdsService.php

Trouble Shooting Guide

It is sometimes useful to uninstall and reinstall the plugin when facing issues.

Error: Undefined property: Proxy::addMdsTransactionTable
This usually occurs when the installation instructions were followed in the incorrect order, follow our uninstall guide and then follow the install guide again
MDS admin order tab or checkout delivery options not displaying.
Ensure that the files were uploaded to the correct folders, that the extension is enabled and mds.ocmod.xml was uploaded and cache refreshed.
Custom address fields not displaying.
Check if they are added in the admin custom field section. If they are not follow the uninstall and then install instructions.
Custom address field values are not being populated.
Upload mds.ocmod.xml_error_string and refresh the oc_mod cache.
Ensure that your soap serivice is working and that you have the correct MDS login details in the admin MDS extension configuration section.
Error: Undefined index or id.
Ensure the collection and delivery addresses have the necessary address fields saved as specified in the front-end usage section.
Error: Invalid information
Ensure the collection and delivery addresses have the necessary address fields saved as specified in the front-end usage section as well as the validity of the values saved.
Error: Authentication or Login
Please check your MDS login details
Error: Unable to connect or SOAP
Ensure your SOAP service is working and that your MDS login details are correct.
Error: Permissions
Contact your hosting provider to ensure the proper file access permissions are applied to the related files/directories in the error.
Back to Top
like twtr linkedin