Tagged: Magento 2

Add custom maintenance page in Magento 2 0


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 0


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 0


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

Mass Product Attribute Upload in Magento and Magento 2 0


Mass Product Attribute Upload in Magento

According to latest practice in magento site most developers use product collection to update the product attribute. But unfortunately it has bad effect to side such as,

  1. Product collection script update get slow.
  2. If we use select option to update product collection, when it save it back url key can be empty.

To overcome magento already have function call mass product attribute to update the product. (more…)

How to remove a part from existing Magento 2 CMS page layout 0


If you need to remove any part or a section of a Layout, follow the below steps.

Login to M2 Admin> Go to the content -> pages & select the page you want to layout change > Select Design tab and add in what you want to remove from Layout Update XML
Ex:
<body>
<referenceBlock name=”footer” remove=”true”/>
<referenceBlock name=”header.panel” remove=”true”/>
<referenceBlock name=”catalog.topnav” remove=”true”/>
<referenceBlock name=”breadcrumbs” remove=”true”/>
</body>

(more…)