Update Doofinder Script for JTL
Updating the script may remove any previous customizations. If you suspect your script is customized, contact us before proceeding with the update. To detect customizations, read the following section.
To update the Doofinder script in JTL, you have two options: either reinstall the plugin or update the script manually.
Choose your preferred method and follow the corresponding steps below:
Reinstall Plugin
- Go to your JTL backend and reinstall Doofinder's plugin.
- Go to your Doofinder Admin Panel > click on Configuration on the left-side menu.
- Select Store Settings > in General scroll down to Installation Script.
-
Verify the Single Script snippet is already in place.
-
This is how the Single Script looks like:
-
This is how the previous script looks like:
If your script looks like the second one, you will need to update your script. In this case, click on "Replace Script" and follow the steps on the pop-up.
-
Now you are all set to enjoy all the available features with the Single Script.
Manual Script Replacement
- Go to your Doofinder Admin Panel > click on Configuration on the left-side menu.
- Select Store Settings > in General scroll down to Installation Script.
-
Verify the Single Script snippet is already in place.
-
This is how the Single Script looks like:
-
This is how the previous script looks like:
If your script looks like the second one, you will need to update your script. In this case, click on "Replace Script" and follow the steps on the pop-up.
-
-
With the new Single Script in place click on "Copy".
- Next, go to your website's HTML and remove the old script replacing it with the new Single Script.
Now you are all set to enjoy all the available features with the Single Script.
Updating the Script in JTL for Recommendations Compatibility
If you have updated the script to use Recommendations, you may need to clear the cache to ensure changes take effect. Be sure to clear the cache both on your server and within the plugin settings.
How to Identify Customizations in the Script?
You may have your script customized to meet the needs of your eCommerce. Updating the script will remove previous customizations of the following types:
- Hooks
- JavaScript Events, such as callbacks.
- Any customization that affects the search behavior, such as:
If you are unsure whether your script contains any customizations to be aware of, contact us to help you update the script. Remember that updating the script may result in the loss of these customizations.