Troubleshooting PrestaShop Save and Stay issue

Learn how troubleshooting in PrestaShop carried out with save and stay issues in this blog.

PrestaShop is an open-source eCommerce solution that is published under Open Software License. It is written in PHP programming language. Now PrestaShop is used by more than 250,000 shops worldwide.

Build PrestaShop eCommerce website that increases business ROI!!!

One of the main issues that users are facing is the spinning action of the “Save and Stay” option. Most of the time, users finding it hard to make any changes because of the spinning issue of the “Save and Stay”. Often, the users are facing difficulty in saving the data in the panel.

Troubleshooting PrestaShop Save and Stay issue

Here are some of the solutions that can help you to get rid of the spinning problem of the Save and Stay option in PrestaShop.

Solution 1: Troubleshooting the cache speed

Login to your account there you can see the admin panel. On the left side of the admin panel, you can see more categories. Under that category, click on the Administration tab.

Troubleshooting PrestaShop Save and Stay issue

Under the Administration section, you can find few categories. Under those categories, choose the Preferences option.

Step-3

In the preferences option, you can see 3 categories namely General, Upload Data, and Notification. Under the General Category, you can see two boxes; Lifetime front office cookies and Lifetime back-office cookies. These cookie boxes allow setting the time manually. This is nothing but setting the cache time.

Now, maximize the cache time for both the front and back office. Increasing the speed of the cache can reduce the spinning time of the “save and stay” option.

Solution 2: Enable smarty cache

Another solution to get rid of the ‘Save and stay” spinning problem is by enabling the smart cache.

Troubleshooting PrestaShop Save and Stay issue

Login to your admin account. On the right side of the admin panel, you can notice “Advanced Parameters”. Click on the Advanced Parameter option and choose the “Preferences” option.

Solution 2c

Under Preferences, you can find various categories namely Smarty, Debug Mode, Optional Features, CCC (Combine, Compress and Cache, Media Servers, Ciphering, and Cache.

Under those categories, go to the CCC (Combine, Compress and Cache) section, you can find Smart cache for CSS, Smart cache for JavaScript, Minify HTML, Compress inline JavaScript in HTML, Movie JavaScript to the end, Apache Optimization.

Troubleshooting PrestaShop Save and Stay issue

Enable all the options in the CCC section and save the action. Enabling can optimize the speed of the page and minimizes the spinning action of the “Save and Stay” option.

Build PrestaShop eCommerce website that increases business ROI!!!

Solution 3: “Disabled =Disabled”

Another solution that I can suggest to you is, changing “Disabled = Disabled”. This can be done by using the File Transfer Protocol. Look at these steps and know how it can be done.

Using the FTP, go to “admin > themes > default > template > controllers > products” and in all .tpl files find:

<button type=”submit” name=”submitAddproduct” class=”btn btn-default pull-right” disabled=”disabled”> {l s=’Save’}</button>

<button type=”submit” name=”submitAddproductAndStay” class=”btn btn-default pull-right” disabled=”disabled”> {l s=’Save and stay’}</button>

  1. Remove disabled=”disabled”
  2. Replace “process-icon-loading” with “process-icon-save”

The results should be:

<button type=”submit” name=”submitAddproduct” class=”btn btn-default pull-right”> {l s=’Save’}</button>

<button type=”submit” name=”submitAddproductAndStay” class=”btn btn-default pull-right”> {l s=’Save and stay’}</button>

Once you finish the action, log out of your account and login again to see the changes.

Solution 4: Right Installation

Sometimes, problems while installing the PrestaShop might result in the spinning action. A proper installation of PrestaShop may help you to avoid the complication. Take a look and learn how it can be done.

Upon the installation of PrestaShop, there are some XML-files that will be downloaded (api.prestashop.com or/and api.addons.prestashop.com). Those are put into the config/XML-folder. Also, with that, there are some tables created. You might not have XML-files and you may have only 236 tables instead of 244.

Run the application on the managed VPS. They are very strict with the security and most of the downloads from other domains will be blocked.

Once you open the two domains to PrestaShop API on the server, do a new installation, the files will be downloaded and the right tables will be created. Once you finish this installation process, your Bo will be very fast.

No more spinning problems in the “Save and Stay” option.

And, also check if you have the XML-files in config/XML. There should not be any vacant amount of tables in the database.

This is how troubleshooting in PrestaShop works and saves up a time to fix the solution.

So, these are some of the solutions that you can use to overcome the spinning issues on PrestaShop.

Webnexs is one of the best multi-vendor marketplace solution providers that creates online stores in the PrestaShop platform with many advanced features.

Click here to create your own online store on the PrestaShop platform with Webnexs.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *