Installation using Plugin

In order to connect OpenCart with our platform there is a two step procedure:

  • Add a new integration in our panel
  • Install our plugin in your OpenCart installation

Add integration in AfterSalesPro Panel.

Add a new integration via Profile->Platforms section.

  • Select OpenCart type, set the version as Plugin.
  • Remember to type your url including the prefix, without the trailing slash, i.e. https://mydomain.gr.

Installing our plugin in OpenCart administration panel

  • Download the plugin for OpenCart (V2) here or (V3) here.
  • Navigate to Extensions -> Installer and upload the zip with the extension.
  • Navigate to Extensions -> Extensions -> Modules, find the AfterSalesPro Configuration and fill
    in the API Token and Platform UUID as shown in the previous step page. Set the Status to Enabled.
  • Navigate to Extensions -> Modifications and click the refresh icon.

Update our plugin to new version (v.1.0.1)

Opencart 2.1

  • Navigate to Menu -> Modifications and press Disable Action to current aftersalespro
  • Refresh Modifications (top right)
  • Select AfterSalesPro Integration, then Delete (top right)
  • Again Refresh Modifications
  • Navigate to Menu -> Extension Installer
  • Upload file then Continue
  • Navigate to Menu -> Modifications, refresh again
  • Navigate to Menu -> Settings, fill in API, UUID and Enable
  • Save (top right)
  • Navigate to Menu -> Modifications, refresh again

Opecart 2.3

  • Navigate to Menu -> Modifications and press Disable Action to current aftersalespro
  • Refresh Modifications (top right)
  • Select AfterSalesPro Integration, then Delete (top right)
  • Again Refresh Modifications
  • Navigate to Menu -> Extensions, find AfterSalesPro and uninstall button
  • Navigate to Menu -> Modifications, refresh again
  • Navigate to Menu -> Extension Installer
  • Upload file then Continue
  • Navigate to Menu Modifications, refresh again
  • Then to Menu - Extensions, find AfterSalesPro and install button
  • Edit button to fill in the API, UUID and Enable
  • Save (top Right)
  • Navigate to Menu -> Modifications, refresh again

Opecart 3

  • Navigate to Extensions -> Modifications
  • Find AfterSalesPro, Disable and Delete
  • Navigate to Extensions -> Extensions menu -> find modules > aftersalespro and uninstall
  • Navigate to Extensions -> Installer, find old version in install history and uninstall (if exists)
  • Navigate to Extensions -> Modifications, and press Refresh button (top right)
  • Navigate to Extensions -> Installer menu, upload file
  • Navigate to Extensions -> Extensions menu -> find modules -> aftersalespro and install
  • Edit button to fill in the API, UUID and Enable
  • Save (top Right)
  • Navigate to Extensions -> Modifications and Refresh again

Authorization fix

Open .htaccess file, find the line

RewriteBase /

Then, add the following two lines after (if not already exist)

RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

The file should look like

RewriteBase /
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]