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.
This tutorial demonstrates how to install Magento 2.3 and build a web server on operating system Ubuntu 16.04 LTS. In this tutorial I have used Digital Ocean droplet (2GB instance), you may please create the same or you can install one in your PC. First we create a user apart from root user, as it […]
If you are trying to use getRequest() from a controller that extends Magento\Framework\App\Action\Action, you may just use $this->getRequest()->getPost(). But if you are in a custom class, you need to inject the request in the constructor.
Description: This great plugin replaces native select box elements with fully customizable dropdowns. It’s just not reshape the select box, but it equipped with the form Submit, Onchange Events and Attributes as you would with normal usage.
It is very common that you may want to list out all the files in a directory that contains several levels of sub directories. So consider the below folder structure media sample.jpg foo.txt get.php PHP has a built in function called which comes handy while handling files and directories. Best thing about this function is […]
You might be noticed that some of your friends sending nice stickers in Whatsapp as reply to your chat. Sometimes it will a picture from your favorite movie scene or some other instance. Now you also can create stickers for WhatsApp, by using a app called sticker.ly. Just search in the app store/play store for […]
Most of the projects you work in PHP or in any language, there you have to encounter with categories and sub categories. When comes to categories, tree view is the best listing method that we can use in our web apps. In this article, we are showing you how to create Laravel tree view for […]
In certain cases you want to run a MySQL query and find out how many products are there without images in Magento. Which will help your store to run smoothly. Use the below query to figure out the products without images.
The below script helps you to add single quotes to comma separated list, while using implode.
We use the below when we have an array from a direct sql used in Magento 1 project. And we want to use it in the Magento way, the collection object. By using this we will be capable of using setters and getters same like any other collection in Magento. Creating a Collection <?php $resource […]
Most of you are familiar with creating modules in Drupal 7, but things got changed in Drupal 8. Drupal 8 has massive change in code architecture and adhering latest industry standards. Already Drupal 8 become the talk of town, so today’s tutorial we are working with a simple module in Drupal 8. Module Directory Drupal […]
Magento have the ability to setup different stores. A product can be made visible in different stores and if we want load store specific details, use the below code.
PuTTY is awsome a client program for the SSH, Telnet, Rlogin, and SUPDUP network protocols. These protocols used to run remote session in your local machine which is a great step in tech industry. Coming to our topic, putty doesn’t give an option to save password as this helps to save your time by typing […]
The cart page performs the duties of a lead-maker, whereas, the checkout is the deal-binder. Both are the significant parts of a buyer’s journey. Improving them simply means streamlining the buyers’ passage towards absolute purchases. However, the tricky part is deciding how to improve these pages for higher usability and conversions. The marketers and webmasters […]
Most of the developers start the projects in their local development environment. If you are working with Magento, Drupal, WordPress etc. you may need virtual hosts to setup, in order to work the test sites properly. When you use virtual hosts each and every links looks very unique, and similar to the main website URL. […]
File upload is an essential part in any web application, so we are demonstrating a multiple file uploader in PHP and MySQL. In Our example code, we will implement the following functionalities to demonstrate the multiple images upload in PHP. Here we will not be using any framework, but just pure PHP for file upload. […]
PDF documents are often used because they help preserve the original content/format of the document, but this can make splitting the file up a little more difficult than other document formats. If you have Adobe Acrobat, you can use the built-in Split Document function to split it up.There are several solutions to achieve the splitting […]
Some websites will be very cluttered with ads, promotions and other marketing materials, scatters all over the page. Since it makes reading hard, and you forget the reason you came to a blog post. That’s why you have Mercury Reader, is a browser extension that cleans up your reading experience in Chrome. Mercury is a […]
A basic, lightweight flow chart module which uses grid system to create a minimal, responsive workflow with SVG put together association lines and and arrows on the web page.
replaces all occurrences of search string with a replacement string. Syntax str_replace(find, replace, string, count) find(required) – It specifies the value to find. replace(required) – It specifies the value to replace the value in find. string(required) – it specifies the string to be searched. count(optional) – it is the variable that counts the number of […]
Today’s article, we will show you how to copy a file from folder to another by using PHP. For this we use default PHP function . Basically, it has two parameters to work a copy function. This file will overwrite if the file already exists in the folder. See the below example function. <?php $file […]
Today’s article we are showing how to send WordPress emails using SMTP server. Everybody knows that emails are very essential for any application on Internet. While using WordPress as your blogging platform, you must have faced issues with email delivery. Sometimes emails are delivering and sometimes they are not. What is the solution for this?. […]
Did you ever think of reading text from image in PHP. Yes you can!. There are chances you may encounter this situation of reading the text from image in your web applications. So today’s tutorial we will demonstrate how to read the text from image in PHP. We will use the Tesseract Open Source OCR […]