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>

Continue Reading

How to add a body class for a page using Magento 2 admin panel 0


If you need to add a body class for a page , please use below steps.

> Login to M2 Admin > Go to the content -> pages & select the page you want to add a body class > Select Design tab and add in what you want to add a class from Layout Update XML

Ex:
<body>
<attribute name=”class” value=”service-unavailable”/>
</body>

Continue Reading

Text fields are not working and can’t edit in safari or any mobile devices 0


Please add below code into your CSS file,


* {
-webkit-user-select: auto;
-khtml-user-select: auto;
-moz-user-select: auto;
-ms-user-select: auto;
user-select: auto;
}

How to Create a “Sales End In” Count down timer in a Magento2 Category Landing Page 1


1

 

There are client requirements that we come across where we need to create Countdown timers for specific Categories or products. This tutorial will show you how to create a one using Magento 2 Built-in functionality.

Let’s assume that we need to have a promotion call “Hot Deals” and need to have selected products to this offer and we need to have “Sales End In” Countdown timer on top of the products. Continue Reading

Magento 2 Phpstorm Plugin 0


Plugin Image

Plugin, created to improve life-work balance while working with Magento 2
– Create modules
– Create database models
– Create controllers
– Copy templates
– Navigate to templates in layout files Continue Reading