Importing from the previous version
A shop moving from the previous version of SyncSHOP brings its data over from Setări → Import din versiunea veche. You need Manages the shop's settings. The old database is only ever read.
Connecting
Fill in the old MySQL database: server, port, database, the table prefix (usually syn_), a user and its password.
A read-only user is enough, and safer. Verifică legătura says whether the shop can read it; when it cannot, it
says only why in broad terms (wrong user or password, no such database, or it could not connect). Cloud metadata and
link-local addresses are refused as a server; the old shop's own server or private network is fine. The password is kept
encrypted.
The steps
| Step | What comes over |
|---|---|
| Categorii | the category tree with names, slugs, descriptions and SEO texts; hidden ones come over inactive |
| Branduri | brands with their texts |
| Produse, prețuri și stoc | each product with its own SKU, barcode and web price as the default variant, its old variants beside it, its categories (the old "main" one as the main category), VAT class from the old rate, and its stock in the shop's default location. Products shown on the old site come over active, the rest as drafts; deleted ones stay behind |
| Clienți și adrese | accounts with their names, phones, creation and last sign-in dates, and their addresses matched to the official address register (an address whose county or locality cannot be found is left behind and named in the run). Blocked accounts stay blocked. When an account here already has the same e-mail, the old one's history goes into it only once its owner has confirmed the address; until then the customer is left behind (named in the run) and their orders come over without an account. Each customer signs in with their old password: it is kept wrapped in a strong hash and replaced by a normal one at the first sign-in |
| Istoricul comenzilor | every order under its old number, as it ended (handed to the courier counts as delivered), with its customer, addresses, lines, delivery, discount and total. Lines keep the product's name and SKU even when the product is no longer there. Nothing happens because of them: no stock moves, no e-mails, no invoices |
| Imaginile produselor | each product's images in their old order (the first is the main one), copied from the old product image folder: copy that folder to this server and give its path under Imaginile vechi. Only files inside it, and only real images; a dry run checks each file and copies none |
| Pagini | the old CMS pages as drafts in Pagini (their HTML turned into Markdown), with a 301 from each old address; read them and publish |
| Redirecționări 301 | a permanent redirect from every old product, category and brand address, and from every former slug the old version recorded, to the new address |
Old names stored with HTML codes are decoded, and HTML descriptions become plain text with their paragraphs.
Run each step as De probă first: it checks every record and keeps nothing, and the list of runs shows how many
records it read, would create or update, and which it would leave behind and why. Then Rulează. A step run again
updates what it brought the first time, without duplicates, so the import can be repeated until the switch-over.
Steps run in the background; the same is possible from a terminal with php artisan legacy:import (--dry-run,
or the steps to run).
Not yet
Not brought over by design: personal identification numbers (CNP, ID card series), health data and loyalty card numbers. Newsletter subscriptions are not brought over either: the old version kept no proof of when and how consent was given.