Libraries

We dropped or exchanged several libraries in the OXID eShop. If you used one of those libraries directly (not via OXID eShop API or GUI, which is not recommended by OXID eSales), you have to find a workaround or include the library via your projects root composer.json file.

ADODb Lite

See further information about the therefore made changes.

JpGraph

JpGraph is a graph drawing library. In OXID eShop 4.10 / 5.3 the JpGraph library with the version 2.5 was included in the directory core/jpgraph>. If you somehow used the functionality of the JpGraph library, we recommend to require it via composer. There is a public available package which points to the JpGraph github repository.

facebook

As stated in this section, the facebook functionality was moved into a module.

smarty

We exchanged the smarty library from our code base with a composer required package. In the version 4.10 / 5.3 of the OXID eShop was used the smarty version 2.6.25. In the OXID eShop version 6.0 the smarty version 2.6.30 is used. It should not add much effort to update your code. But if something stops working, we recommend to look through the smarty documentation.

PHPMailer

We exchanged the PHPMailer library from our code base with a composer required package. Cause we sticked to the version of this library, there will be nothing to do left for you.

WysiwygPro and the out/pictures/wysiwygpro directory

The WysiwygPro html editor in OXID eShop 5 Professional Edition and Enterprise Edition was replaced with the module WYSIWYG Editor in OXID eShop 6. You have to read this section and take actions if you either:

  • uploaded files (e.g. images) in any input field managed by the WysiwygPro editor. This can be the long description of an article or any field managed by a 3rd party module.

  • or used the WysiwygPro directory out/pictures/wysiwygpro directly.

In this case you have to run the following steps:

  1. Move the files from the old directory to the new directory:

  1. Create the folder out/pictures/ddmedia in your OXID eShop 6 and make it writable.

  2. Move all files from the folder out/pictures/wysiwygpro of your OXID eShop 5 to the folder out/pictures/ddmedia in your OXID eShop 6.

  1. Index the files inside the directory out/pictures/ddmedia in order to use them with the WYSIWYG Editor:

  1. Activate the module WYSIWYG Editor + Mediathek in your OXID eShop 6. (Extensions ‣ Modules ‣ WYSIWYG Editor + Mediathek ‣ Activate).

  2. The PHP script index_files_for_mediagallery read all files inside the directory out/pictures/ddmedia and creates an index in the database. Download it.

  3. Copy the script to the folder out/pictures/ddmedia.

  4. Make the script executable.

  5. Edit the script and configure your database connection at the top.

  6. Execute the script:

    • Go to a shell

    • Change your directory to out/pictures/ddmedia

    • Execute ./index_files_for_mediagallery

  7. Delete the script.

  1. Update existing contents in the database to use the new directory:

  1. Download the PHP script migrate_existing_wysiwygpro_contents The goal of this script is to replace all occurences of the directory out/pictures/wysiwygpro with out/pictures/ddmedia in all possible database tables.

  2. Open this file and configure the database connection to your OXID eShop 4.10 / 5.3 database at the top.

  3. If you have configured additional languages or use own tables storing contents of WysiwygPro, you may have to configure additional fields and tables inside the script. Please see the instructions inside the script.

  4. Execute the script:

    • Go to a shell

    • Execute /path/to/the/script/migrate_existing_wysiwygpro_contents

  5. Delete the script.