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.

Installing our plugin in OpenCart administration panel

  • 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.

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]