Converters & Importers

Galactic Action is a script that runs on Windows that attempts to convert Actinic shop to Interspire or Prestashop ones.

Introduction

The scripts in the download section are written in PHP with a tiny loader to execute them. You’ll need to unpack them, edit a simple configuration in notepad and then run them. After the scripts successfully run, you’ll have (depending on the shop you’re importing data into) CSV files with your shop data in them.

These files should import into your new ecommerce software. This is not covered in this document.

Details

The script in its current form needs to be unpacked from its archive. Inside you’ll find various files.

- open default.php in a notepad – find this text in the header:

//diagnostic mode, output only 10 records.
$TESTMODE = true;
//the current system dsn
$ThisDSN = "ActinicCatalog9";

…you’ll need to edit these to suit.

Save, close and then run “galactic-action.bat”. This will execute the script. If everything went well, your products and sections will be scrolling in a command window. When complete, and dismissed, your importable CSV will be located in the same folder.

Interspire

By default, this file is called “InterspireImport?.csv”. It can be imported into Interspire, with the ‘this file has headings’ option ticked in the import options.

The Galactic Action Script also has another option to edit in the header, specific to the script:

$UseExtendedImage = false;

This asks the script to use the largest available image when building the import CSV.

Prestashop

The CSV files exported are numbered according to their import order. There will be a file for sections and one for products. The prestashop export also experimentally exports a 301 redirects file for your .htaccess file.

The Prestashop CSV exporter contains the following editable options:

define('TAXRATE','17.5%');
define('DEFAULTWEIGHT','10');