Articles

How to increase PageSpeed Insights indexes on site

How to increase PageSpeed Insights indexes on site

If you are asking this question, then you have started to optimize the site. The Google PageSpeed Insights service shows how much the loading of your site is optimized according to the "corporation of goodness" algorithms. PageSpeed Insights indexes are influenced by several factors, we will tell you how to enable caching and compression, thereby increasing the index to 70-90 points . And so, open..

Automatic detection of Opencart language (Without using the Module)

Automatic detection of Opencart language (Without using the Module)

If you need to automatically detect the user's language on Opencart, then there are two solutions: 1. Language definitions by IP (country or region) 2. Language definitions by browser language We will use the second method , as we consider it more accurate. Each browser sends a string with the ISO codes of the languages used and their priorities. In this example, we will take the language with the..

Overview of changes in official release of Opencart 3.0

Overview of changes in official release of Opencart 3.0

So the official release of Opencart 3.0.0.0 came out and immediately after it, almost every couple of days, they began to release releases with improvements 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.2.1 - it's all in the opencart-team style. So what has changed in the new third version of the popular CMS for online stores compared to the previous second version? The answer is not much, but enough to confuse ..

Solving the error "Fatal error: Cannot redeclare"

Solving the error "Fatal error: Cannot redeclare"

If after installing a module or modifying on Opencart 2 you get an error Fatal error: Cannot redeclare ... - this means that the php function or php class specified in the error is duplicated. You need to leave only one function or class with that name. It's very simple, look for the problematic file (controller or model, most likely modified via vqmod or ocmod) that is specified in the function, ..

How to clear cache or disable Opencart 3 caching

How to clear cache or disable Opencart 3 caching

OpenCart modules - how to clear cache or disable Opencart 3.0 caching The version of OpenCart 3.0 allows, thanks to the actively used Twig template engine, to cache. When php was involved, there were no such opportunities. And the system remembering its actions increased the load on the hosting server. This negatively affected the loading speed of Internet resources. But every action has its pros ..