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…Continue Reading
Product Sort By Price: Low to High and High to Low Magento 2.3
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.
Reset “Use Secure in Front End or Admin” in Database – Magento 2
If you ran into a problem like you have changed the secure admin URL back to non secure URL and you forgot to change the or Admin to zero -means disable. It’s total mess that you cannot access the admin side again as all the JavaScript and CSS urls will have https prefix and all…Continue Reading
Magento 2 Folder & File permissions
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…Continue Reading
Drag and Drop File Upload using DropzoneJS and PHP
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…Continue Reading
How to Enable Flat Catalog in Magento 2
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.
Magento2 – How to create custom breakpoints?
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…Continue Reading
How To Change The Magento 2 Admin Session Timeout
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.
Deny all, allow only one IP through htaccess
If you want to deny all the traffic except a single IP use the below snippet in your .htaccess.
Copy all the files from one directory to another in Linux
Today’s short article we are showing how to copy all the files from one directory to another in Linux.
Magento 2 – How To Disable Wishlist Feature
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…Continue Reading
How to load a Slideshow on the Home Page – Magento 2
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.
How to Install Magento 2.3 & Create a Web Server-LAMP
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…Continue Reading
Magento2 :: How to get getRequest in Custom Module
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.
jQuery bvselect – Custom Drop downs for Native Select Box
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.
Using PHP glob() Function to Find Files in a Directory
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…Continue Reading
Make your own stickers for WhatsApp and iMessages
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…Continue Reading
Hierarchical Tree view Category Example in Laravel
For most of the projects you work on in PHP or in any language, there you have to encounter categories and subcategories. When comes to categories, the 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 a Laravel tree…Continue Reading
Find Products with No Images Using a Raw Sql Query In Magento 1
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.
PHP: Implode () with quotes
The below script helps you to add single quotes to comma separated list, while using implode.
How to convert an array to a collection object in Magento 1?
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…Continue Reading
Drupal 8: Create a Simple Module
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…Continue Reading
Magento 1: Load store specific product
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.
Auto Login in PuTTY with a password
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…Continue Reading
How to Improve Cart & Checkout Page of Your eCommerce Store
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…Continue Reading
How to Configure Virtual Host in XAMPP on Windows 10
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….Continue Reading
Upload Multiple Images and Store in Database using PHP and MySQL.
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….Continue Reading
How to Split PDF Files using Google Chrome
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…Continue Reading
How to Enable Clutter-Free Reading in Google Chrome.
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…Continue Reading
Basic Flow Chart Plugin With jQuery And Bootstrap – simple-flow
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.