fullmetrixDocs

Uninstall

Stop your Sylius store's sync, delete the data in Fullmetrix and remove the plugin from the project without breaking anything.

Removing Fullmetrix from a Sylius store happens in three places, Fullmetrix, the Sylius admin and the project code. First choose what you want to achieve, then follow the matching part.

Choose the right action

Your goalThe actionWhat happens
Erase the store and its data from FullmetrixDisconnect in FullmetrixThe connection and the imported orders are deleted from your organization
Cut the link on the store sideDisconnect in SyliusThe plugin forgets its connection key and sends nothing more. It stays installed.
Remove the plugin from the projectUninstall the Composer packageThe plugin leaves the store's code

To remove everything, do all three, in the order of this page.

Delete the store in Fullmetrix

Export what you want to keep

The imported data will be erased. First export the numbers or lists you need, from the reports or the Exports page.

Disconnect the store

In the sidebar, click Settings, then the Integrations tab. On the Sylius card, click Disconnect. The Disconnect this store? window warns that the connection and all imported order data will be deleted, with no way back. Click Disconnect to confirm.

Wait for the deletion to finish

The card shows Deleting, then disappears.

Deletion cannot be undone

A later reconnection creates a new connection and imports the whole history again from the store. It does not restore the deleted data.

Disconnect the plugin in Sylius

In the Sylius admin, open Marketing, then Fullmetrix, and click Disconnect. Sylius does not ask for confirmation. The page goes back to the connection form.

The plugin deletes its connection key and stops sending changes to Fullmetrix. It stays installed, its tables stay in the database, and the disconnection is added to the activity log.

A disconnected code cannot be reused

After disconnecting in Sylius, the old code is rejected with the message Ce code est déjà associé à un autre site (this code is already associated with another site). To reconnect the store, delete it in Fullmetrix and add it again to get a fresh code.

Remove the plugin from the project (for your developer)

First disconnect the store in Sylius, as described above. Then your developer follows these steps on their development environment and deploys with the usual process.

  1. Delete the config/routes/fullmetrix.yaml file.
  2. Remove the Fullmetrix\SyliusPlugin\FullmetrixPlugin::class line from config/bundles.php.
  3. Remove the package and clear the cache.
composer remove fullmetrix/sylius-plugin
bin/console cache:clear

They then deploy composer.json, composer.lock and the updated configuration to every server.

What to do with the plugin tables

The plugin created two tables, fullmetrix_config for the connection settings and fullmetrix_log for the activity log. They do not hold your Fullmetrix reports, and if left in place they do not bother Sylius. Keep them if you might reinstall the plugin.

If your internal policy requires deleting them, back up the database, then have them removed by a migration written for that purpose, once the plugin is gone. Do not blindly run the migrations rollback in the production history.

Reconnect the store later

Follow Installation again with a fresh code from Fullmetrix. The history import starts over from the beginning.

On this page