Magento 2 – How to Get Base URL, Media URL, Current URL, Base Path, Media Path
In this blog, both methods are demonstrated, using Dependency Injection and using ObjectManager Using Dependency Injection Here is the sample code. It has been used in a block class but you may use it...
View ArticleMagento 2 Console Command Sortcuts
While working on Magento 2.x, you often need to run several console commands which are actually very handy in terms of managing the things such as cache, upgrades, deploy modes, indexers etc. You can...
View ArticleSending Email with Attachment in Magento 2.3.x
Some of the functionalities in Magento 2.3.x is different from previous page. The reason is that in most cases the 2.3.x framework uses Zend Framework 2 (ZF2) and almost totally refuses to applyZend...
View ArticleRemove index.php from Magento Store URL
In this blog, we will see how to remove index.php from base URL of a Magento store. ↣ To remove “index.php” from the web-site URL, the mod_rewrite module should be enabled on your server. In case,...
View ArticleCreating Customizable Options for products programatically in magento 2
There may be a situation when one wants to create some predetermined customizable options for products, while creating new products from admin.There may be different event where one wants to add this...
View Article5 Must Have Extensions for Your Magento 2 E-Commerce Store
As we all know, Magento 2 is already very feature-rich. But, in terms of running a successful E-Commerce store, you might need to have some more feature in your store for better user experience. Since...
View ArticleMagento 2 Responsive Banner Slider
Banner Slider is a powerful marketing tool for the eCommerce Store and allowed promoting your latest products or offers amazing slider effects and grab your customer’s attention. The Banner Slider...
View ArticleAdmin Password Reset From Database
In this blog, we will see how we can edit/reset our lost magento admin password in few simple steps. Step 1: First of all open your phpmyadmin database of your website. it should look like this Step 2:...
View ArticleHow to manage Stock Classes in Magento
In this blog, we will discuss how Stocks work in magento. There are certain setting which we can do from Magento Core files and from System > Configuration. Firstly we will see what we can do from...
View ArticleRedirecting Custom URL to Home in Magento using URL Rewrites
Sometimes, you might need to redirect some custom URLs to home page of your Magento store. Let’s say, you used to own a website where there were a number of URLs (products, categories or static pages)...
View Article