Senior Tech Lead at Netstarter PTY ltd. Magento Certified Front End Developer, Certified ScrumMaster, Microsoft Certified Professional, Member of British Computer Society

Posts By: S.S.Niranga

Remove node_module Folder

Due to its folder nesting, Windows can’t delete the folder as its name is too long. To solve this, install RimRaf:

npm install rimraf -g

Go to your project folder and delete the node_modules folder easily with:

rimraf node_modules

Add custom maintenance page in Magento 2

Creating a custom page is optional but recommended because the site is accessible during part of the upgrade. This will prevent users from any access to the site and also informs that the site is undergoing maintenance
(more…)

Install New Magento 2 Theme in 5 Minutes

Download and Upload your preferred the Theme

Once you have downloaded the Magento 2 theme of your choice( purchased or free), you will receive a zipped version. Unzip it and upload the files to the public root directory of your Magento 2 store.

Note: You can use FileZilla for it too. (more…)

Fatal error “Allowed memory size” while run setup:static-content:deploy

If you get this error when trying to run

setup:static-content:deploy

Please run below in your command line.

php -dmemory_limit=6G bin/magento setup:static-content:deploy

You can replace 6G with your own value

Custom HTML tags are missing in Magento wysiwyg editor

If you have encountered this issue,

for ex:- When you add custom html code  and it’s not visible in the admin and often not rendered in the front end, there is a simple hack for this.

Goto,

js\mage\adminhtml\wysiwyg\tiny_mce\setup.js

and add “extended_valid_elements : ‘i[class]'” , code to var = settings (more…)