How to add custom font in Magento 2

Add font files to your local theme directory. For example, app/design/frontend/<your_vendor_name>/<your_theme_name>/web/fonts. To add external fonts, configure the font app/design/frontend/<your_vendor_name>/<your_theme_name>/web/css/source/_typography. The mixin generates the CSS, which includes the font. The following example shows how to generate CSS for the Open Sans font in the Blank theme: @font-face {font-family: ‘Open Sans’;src: url(‘../fonts/opensans/light/opensans-300.eot’);src: url(‘../fonts/opensans/light/opensans-300.eot?#iefix’) format(’embedded-opentype’), url(‘../fonts/opensans/light/opensans-300.woff2’) format(‘woff2’), url(‘../fonts/opensans/light/opensans-300.woff’)… Continue reading How to add custom font in Magento 2

Published
Categorized as Magento

Method to Disable Compare Products in Magento 2:

Create default.xml file in Vendor/Extension/view/frontend/layout  and copy the below code: <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”> <body> <referenceBlock name=”catalog.compare.link” remove=”true” /> <referenceBlock name=”catalog.compare.sidebar” remove=”true”/> <referenceBlock name=”catalogsearch.product.addto.compare” remove=”true”/> <referenceBlock name=”category.product.addto.compare” remove=”true”/> <referenceBlock name=”crosssell.product.addto.compare” remove=”true” /> <referenceBlock name=”related.product.addto.compare” remove=”true” /> <referenceBlock name=”upsell.product.addto.compare” remove=”true” /> <referenceBlock name=”view.addto.compare” remove=”true” /> </body> </page>

Published
Categorized as Magento

How to create a new Block in Magento?

Go to Content > Elements > Blocks and press the Add New Block button. Enable the CMS Block. Set the CMS Block Title and Identifier. Assign CMS Block to the Store View it will be displayed on.

Published
Categorized as Magento

How to configure qty to use decimal quantities in magento 2

In some Cases we may need to use qty to use decimal in our store so inorder to enable this we have two provisions to select that to each product based or we can totally declare to allow decimal for qty values. Display settings for each individual productGo to the following link : Admin panel… Continue reading How to configure qty to use decimal quantities in magento 2

Implementation of new Freight Cost in Websites.

How to install the “Meetpxny Iconsignit” Shipping Extension?  Download/purchase the extension (like zip or tar.gz archive)  Upload Extension (as Zip or tar.gz) to your Magento installation root directory.  Unzip the zip. Make sure file path is “app/code/Meetpxny/Iconsignit/”.  Run the following command in the terminal.  php bin/magento setup: upgrade  bin/magento setup:static-content:deploy –f  sudo chmod 777 -R… Continue reading Implementation of new Freight Cost in Websites.

Published
Categorized as Magento