Custom HTML tags are missing in Magento wysiwyg editor 0


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 Continue Reading

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

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


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