Topic: Magento 2

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…)

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>

(more…)

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. (more…)

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 (more…)

Magento 2 changing increment ids 0


Magento to increment id update

Update sales_sequence_profile table suffix/prefix columns with preferred values. Cross check meta ids with sales_sequence_meta to find the corresponding entity type.