I was getting this error when logging in with a user created from root. But root user is logged in perfectly, but the user cerated not. Solution Tried this in DigitalOcean droplet($5) successfully. adduser user (adds a new user) usermod -a -G sudo user (Adds user to sudo group) mkdir /home/user/.ssh (create .ssh directory in […]
By default Magento 2 static urls have a version string attached to it. For example, if you take the view source of the page, you will see urls contains the following string -version1490119662.
Fast and low overhead web framework, for Node.js, which provides better developer experience with less overheard and powerful plugin architecture. Main features. Highly performant: Fastify is one of the fastest web frameworks in town, depending on the code complexity we can serve up to 30K requests per second. Extendible: It’s hooks, plugins and decorators makes […]
Default Magento 2 setup allows users to checkout as guest in your storefront. But one must say gathering max customer information will be advantageous for both customer and shop owner. Today’s tutorial we are showing how to disable or allow guest checkout in Magento 2. Step 1. Log in to Magento 2 admin panel. Step […]
The Google Play Store has almost three million apps for download this year. In the past couple of years, the mobile apps development trend has accelerated as more and more people have realized that apps are great for connecting with customers.
We use forms almost everywhere in computer applications, so is radio buttons. Today’s tutorial we are talking about a simple solution for getting the selected value from a radio button in jQuery. There are different ways you can get selected radio button’s value in jQuery.
A rich text editor or WYSIWYG editor is very useful when writing descriptive content that includes HTML elements, images and strong formatting. The normal text area in HTML has no capability to format HTML tags, so we need to use tools such as CK Editor, TINYMCE, and there are more.
It’s very often that you want to change the PHP version in order to install different softwares in your development environment. But the MAMP version in your system comes with pre-installed version of PHP, and you want to go with it.
In your Magento 2 journey, you might have greeted with this error message – “Your session has expired”, when clicking on the add to cart button.
Composer is a dependency management tool for php projects. By using composer, you can just declare the dependecy in your project and composer will handle/download this for you.
jQuery is one of the best fronted frameworks ever created. These days there are several other players also, like react, angular and vuejs, but jQuery keeps the top position with a usage in 78% of top million sites.
Today’s tutorial we are showing how to create a custom taxonomy in WordPress. After WordPress 3 this feature is included in the core, so we just need to use the function with some params. The core developers created function to handle the heavy lifting for us. Why Custom Taxonomies? As your system/website grows you feel […]
You may heard about the jQuery Date Picker and probably you’ve used it many times. So in this tutorial we are not talking about a jQuery Date Picker, but a date picker with time selecting option.
If you need to reset the password in Magento 2 via MySQL database, use the below script.
This script allows you to call Magento 2 functions run outside Magento 2 setup. You can create any PHP file in Magento 2 root folder and run Magento 2 from there.
If you have a multi-language store and want to add Store Codes to this is the tutorial for you. So your example urls will look like this yourdomain.com/en, yourdomain.com/us, yourdomain.com/uk. Follow the below steps. Login to the Magento 2 admin panel Navigate to Stores > Configuration > General > Web and find the Url Options […]
Default Magento 2 setup comes with .html for all category and product URLs. Some of the store owners will go with a .html at the end of the url, but these everybody tend to remove that and keep looks more like browsing through folders. To remove .html from Category URL & Product URL in Magento […]
Today’s tutorial we are showing, how to add a new filter option in the product listing area of Magento 2.3. Here we are adding price sorting options such as Low to High and High to Low.
To give proper permissions for Magento 2 folders and files, follow the below commands. This commands should be running as root, but do not run magento command line – bin/magento- from root user, as this may create files with wrong user and throws permission errors. Once you ran this commands you can safely switch to […]
Today’s article, we will show you how to drag and drop an image file using dropzonejs and PHP. Dropzonejs library provides us options for multiple uploads feature. For this we have one index.php, dropzone repo, and upload.php files. We use bootstrap css to help us to sort the stylesheets. Download the dropzonejs by clicking here […]
Using flat catalog will speedup your website to a certain extent as Magento does not need to join multiple tables to pull products details. When you use the flat catalog system, all the EAV attributes will copied to flat table on the fly.
Today no one can think about a website without responsive design. Magento 2 is well equipped with responsive design ideas. There are certain most used break points are available in the Magento 2. But what if we want to add a custom break point to your existing application. Follow the below steps. Create a variable […]
It’s quite annoying that every time page goes to login page when we try to refresh a page or saving a product in Magento 2 admin side. So this can be achieved by changing the admin session timeout in Magento 2.
If you want to deny all the traffic except a single IP use the below snippet in your .htaccess.
Today’s short article we are showing how to copy all the files from one directory to another in Linux.
Wish list is a good feature for websites as users can save their items for a future purchase. Even they can send this to their friends as well. But some storefronts, there is no need for wish list feature, but in Magento 2 this is a feature comes built in. So how does we disable […]
In this article we will show how to load a slideshow in your Magento 2 website’s homepage. We use Slick JS Library for this example.