3. After the database is loaded
- use the "Stop" button to disable the store in the application,
- restart the application
- and turn on the store again with the "Start" button.
A product database will be installed in the application.
Important! Loading sequence is important! First we send an archive of pictures, and then a file of the product database.
Note: If you want to restore the product database of the same store (the same token for the bot), then most likely you will not have to upload images either. They are already on the Telegram server for this bot, and links to them are stored in your product database and they will be downloaded to your phone automatically. But if you change the bot (it will have a different token), then downloading the archive with pictures first is required. And then download the product database corresponding to these pictures.
Likewise for the order database.
Send the order database file bazaZ 06-08-24.json with the signature "Enter orders database== ".
An order database will be installed in the application.
Note: The file names generated by the program contain components that it will check during subsequent loading. These are: bazaT, bazaZ, SFPpictures and file extensions .json and .zip, that is, they are in the file name - this is an unchangeable part. And in the middle of the name there is any information (maybe the date the file was created).