Home Blog
In fact, it would take no more than 10 minutes to write a simple WordPress plugin. In this article, we’ll look at how to write a simple plugin to display the last three articles anywhere on the site using a shortcode.   First, in the project folder /wp-content/plugins/, create the name of the plugin folder, for example, ms-plugin. Inside this folder,...
When you enter the site’s admin panel, a security window may pop up:     How to remove this warning: in file admincontrollercommondashboard.php replace string on  
Sometimes on the site you need to display some additional data that is not in the admin panel. For example, add new phone numbers, add links to social networks, insert store hours in the right place, etc. You can set your own settings for this task. Let's look at an example of adding our own custom field.   In file adminviewtemplatesettingsetting.twig in...
In the article, we will look at how to make the jQuery modal PopUp warning window when you first start the site using a cookie to store a variable, by which you can determine whether the user has previously visited the site and what choice he made. The logic of the pop-up window is as follows: when the site...
In OpenCart 3.x, a bug has recently occurred: when adding a product, category, article, manufacturer, etc., the content is duplicated. When you save, two copies are created. This problem is mainly in the Google Chrome browser. This is due to the form attribute, it does not work correctly in Google Chrome. How to solve the problem:   in products, file adminviewtemplatecatalogproduct_form.twig change on   in...
To create an adaptive carousel with a scroll of this kind:     js libraries owl, slick will not work, because they need to be finalized + there is a problem with the scroll bar: if you press the arrows, it does not move. The problem can be solved by installing the sly-js library.   Download this library you can here   Connect jQuery and Sly...
The Instagram widget module can be downloaded in this article. You can download it here.   The module will look like this:  
In this article, we will consider how to add new tabs in the product card with editing them from the admin panel. Let's get started, add a field to the admin panel, and then to the site itself.   First, add a new field a DB, open the database in phpmyadmin and make a request As a result, a new sostav field...
By default, in Opencart 2-3.x, a letter about a new order of goods arrives to the site administrator in this form:     In order for the letter to be the same type as it is sent to the buyer, you need to modify the standard functionality.   Open file catalogcontrollermailorder.php   about 270 string after that code - paste Further, in the directory of your theme or...

Popular

Recommended