User Tools

Site Tools


How To Prevent Losing Your Changes Before Upgrading

When upgrading, the only changes you will lose are are hard modified core files. By hard modifications we mean the actual core files and not soft modding through vQmod. Please note any third party files are not overwritten by upgrading.

The only way to prevent losing your hard modifications is to turn them into soft modifications by converting them to vQmods.

How To Transfer Your Modifications Into vQmods

  1. Download an unmodified zipped archive of LiteCart (same version as you are running). And unzip it on your local drive.
  2. Use a file comparison software such as WinMerge to compare the untouched set of files against your modified set of files.
  3. Files that show conflicts are assumingly files you have modified. Create a vQmod that performs the same changes and restore your modified files to the originals. See: How To Create a vQMod
  4. You are now good to go and can easily carry modifications between platform updates.

How To Adapt To Git

If you don't want to transfer your modifications into vQmods you have the option to adapt your project to Git. Using Git you can pull all LiteCart updates with a command and Git will merge them with your modified work.

See How To Adapt To Git

See Also

how_to_prevent_losing_changes_before_upgrade.txt · Last modified: 2022/01/23 00:54 by tim