A modal is a dialog box/popup window that is displayed on top of the current page: Html code <h2>Modal Example</h2> <!– Trigger/Open The Modal –> <button id=”myBtn”>Open Modal</button> <!– The Modal –> <div id=”myModal” class=”modal”> <!– Modal content –> <div class=”modal-content”> <span class=”close”>×</span> <p>Some text in the Modal..</p> </div> </div> Javascript code // Get the… Continue reading How To Create a Modal Popup
Category: Magento
How to Enable and Submit Sitemap to Search Engines in Magento 2
This article will guide how to setup the sitemap in magento Step 1: Setting and Enable the SitemapEnable and finish all the XML Sitemap configuration to determine the limitation of sitemap files and how frequently the sitemap is updated. Step 2: Setting and Enable robots.txt (Optional)Enable and finish the Search Engine Robots configuration with instructions… Continue reading How to Enable and Submit Sitemap to Search Engines in Magento 2
How to change default logo of magento admin panel
Change the Selection of CSS
The color of the selection is the default which is grey.
How to remove .html from Magento 2catergory URL
Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change the configuration and save it.
Using a Flat Catalog is Helpful for Performance?
We can configure Flat Catalog for Category & Products from Admin -> Stores -> Configuration -> Catalog -> Catalog -> Storefront Tab. There are 2 data models in Magento: eav (default) and flat. EAV is a very angile model it allows user to add custom attributes as many is he likes, but the problem is… Continue reading Using a Flat Catalog is Helpful for Performance?
Using Rest API Disable the listing of products of the subcategories on the parent category in magento2
There is Rest API to create and update the categories in Magento. Using one attribute we can disable and enable showing the products of sub-categories on the parent category page in magento2That can be done using This will disable the listing of products on parent category. This will enable the listing of products in the… Continue reading Using Rest API Disable the listing of products of the subcategories on the parent category in magento2
Using Rest API how to set page layout for categories in magento2
There is Rest API to create and update the categories in the Magento.USe using one attribute we can change the layout of the category PLP listing.That can be done using Using this the page layout will in 3 column structure for the Product listing section on the category page Thank you.
What is a cascade layer?
Cascade layers are the latest addition to CSS. They allow developers to control the specificity and the source order across multiple CSS files. As a result, developers can minimize CSS collisions and avoid unexpected style changes in their applications. @layer base{ @layer theme, components } @layer base{ … } @layer base.theme{ … } @layer base.components{… Continue reading What is a cascade layer?
Magento 2 – Get the Original Price and Special Price of a Bundle Product
Regular Minimal Price: Regular Maximal Price: Special Minimal Price: Special Maximal Price: