1. Install GetDropFlow

GetDropFlow is an extension for your own Magento store. You install it once; after that everything is done in your Magento admin.

Before you start

You need:

  • Magento Open Source 2.4.6, 2.4.7, 2.4.8 or 2.4.9, with the PHP version that your Magento supports (PHP 8.2 or newer: 2.4.6 uses 8.2, 2.4.7 uses 8.2 or 8.3, 2.4.8 uses 8.3 or 8.4, 2.4.9 uses 8.3, 8.4 or 8.5). Magento 2.4.9 supports PHP 8.3, 8.4 and 8.5; this plugin has been run on PHP 8.5.
  • Someone who can use the server's command line (your developer or hosting support).
  • Your store admin must open on https:// (a padlock in the address bar). Without it AliExpress cannot send you back after you connect.
  • Magento's cron must be running (every Magento store needs this). Without it, products you publish do not show in your shop.

If your server uses MySQL with "binary logging", Magento's own installer may stop with the message "You do not have the SUPER privilege and binary logging is enabled". Ask your host to allow it (the setting is called log_bin_trust_function_creators).

Step 1 — Put the package files on the server

Your GetDropFlow download is a folder of .zip files. Upload the folder to your server, for example /home/you/getdropflow-packages.

Step 2 — Install (your developer types these)

composer config repositories.getdropflow artifact /home/you/getdropflow-packages
composer require "dropshipkit/getdropflow:^X.Y.Z"
bin/magento module:enable DropshipKit_Catalog DropshipKit_Orders DropshipKit_Shipping DropshipKit_Core DropshipKit_Admin
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento deploy:mode:set production
bin/magento setup:static-content:deploy -f en_US es_ES zh_Hans_CN
bin/magento cache:flush

Replace X.Y.Z with the version of the zip files you downloaded: the number in their file names, also the first line of BUILD-INFO.txt. Do not copy a version from this page. Languages: list the languages your store views really use (en_US es_ES zh_Hans_CN is only an example). With a language missing, the storefront pages of that language (product page, checkout) break. No Composer? The download also has a "manual install" zip: unzip it in the Magento folder and run the six bin/magento lines above. After unzipping, four extra files appear in the Magento root, next to composer.json: BUILD-INFO.txt, INSTALL.md, VERSION and gdf-install.sh (the one-step install script used in article 12). This is normal; nothing reads them. To see which version you have, open BUILD-INFO.txt: the version is on its first line.

Use the right PHP: if the server has several PHP versions, run bin/magento with the one your Magento needs, for example php8.4 bin/magento setup:upgrade. With the wrong one you get pdo_mysql extension is not installed; see article 14, item 14. It takes a while: all these commands together take about 6 to 7 minutes on an ordinary server (deploy:mode:set production compiles everything once more by itself). Slow is normal; do not interrupt it.

Step 3 — Check that it worked

Sign in to your Magento admin. You should see:

  • Catalog: three new entries with the GetDropFlow name — Product search, Import list, Pricing rules.
  • A new top menu GetDropFlow with five entries: Settings, Risk settings, Orders, Needs attention and Logs.

The first time you open Settings, a red note says the license is not active and the settings are read-only. This is normal: it disappears when you enter your license key in the next article.

Updating to a newer version

Manual install: DELETE the five old module folders first (app/code/DropshipKit/Admin, Catalog, Core, Orders, Shipping), and only then unzip the new package. Unzipping over the old folders leaves behind files that the new version no longer has. The full steps (also for Composer) are in INSTALL.md, section "Updating".

While you update, module:enable may print generated/code/Magento cannot be deleted. You can ignore it; it does not affect the update.

Uninstalling

Installed with Composer (Option A): follow "Removing" in the package guide (INSTALL.md). bin/magento module:uninstall --remove-data clears the tables and settings too.

Installed by hand (the files were copied into app/code/DropshipKit): Magento refuses module:uninstall for this kind of install; it only works for modules installed with Composer (the owner's finding; we have not re-checked it on every Magento version). So the only way to take it out is to delete the folder.

What you can do: back up the database and the files first, then delete the folder app/code/DropshipKit, run bin/magento setup:upgrade, bin/magento setup:di:compile and bin/magento cache:flush. The plugin is gone from the admin and from the checkout. Your products, orders and customers are not touched.

What you cannot get this way: the GetDropFlow data stays in the database. That is the dropshipkit_* tables, the settings (including the saved license key and the AliExpress permission), the three product attributes, the cron rows and the files in var/dropshipkit. Deleting the folder does not free the store's place on your license either: write to us to move or free it. To remove the data completely, a developer has to do it by hand after a backup (there is no ready command here: deleting the wrong rows can damage the shop), or you install again with Composer and uninstall the Composer way. Also revoke the access for GetDropFlow in your AliExpress account settings.

<!-- Screenshot to add: the message Magento prints when module:uninstall is run on a manual install (we do not know its exact words yet). -->

Next

Go to article 2 to enter your license key and connect AliExpress.

If something goes wrong

See tutorial 14, "Something went wrong during install or use": find your error and follow the fix.