Entries by admin

How to remove compare link on Magento2 header

Step 1 :- Go to app/design/frontend/VenderName/ThemeName/Magento_Theme/layout/default.xml Step 2 :- Copy below Code <referenceBlock name=”catalog.compare.link” remove=”true”/> Step 3 :- Paste this code in default.xml before body tag () and save it. It will remove the links from the header

How to Change Magento 2 Favicon

Today I will show you how you can change favicon on magento2 site. Follow the below steps : 1- go to Content -> Design -> Configuration 2- Click on HTML Head settings tab 3- Upload your favicon and save configuration. 4- Refresh the Cache

How to Add Google Translate in WordPress

Today I will show you how you can add google translator plugin on the wordpress site in easy steps. First of all you have install this plugin Google Language Translator After activating the plugin go to Settings » Google Language Translator to configure the plugin. Make sure that the plugin is activated. After that you […]

How to Export Magento Product Database

In this tutorial I will show you how you can export entire Magento product database. Most people can find their way to the standard Export options under System -> Import/Export, but that often doesn’t produce the results they’re expecting. A better approach is to use the Dataflow – Profiles that Magento provides. These out-of-the-box export […]

How to put Magento in Maintenance Mode only for Front end

In this tutorial we will show you how to put your Magento online store in maintenance mode only for front end site. The admin can access the site without any issue To put a Magento site in maintenance mode, you need to create an empty maintenance.flag file and upload it to the root folder of […]

How To Get Base, Media, Link Url In Magento2

To get URL in magento2, you have to first create instance of \Magento\Framework\App\ObjectManager to get current store: $_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); //instance of\Magento\Framework\App\ObjectManager $storeManager = $_objectManager->get(‘Magento\Store\Model\StoreManagerInterface’); $currentStore = $storeManager->getStore(); To get base URL: 1 2 3 $baseUrl = $currentStore->getBaseUrl(); //Output link will be like this: To get media base URL: 1 2 3 $mediaUrl = $currentStore->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA); […]

How to Enable Template Path Hints in Magento 2

Steps to turn on template path hints in Magento 2: Go to Magento 2 admin panel and login with your credentials. Go to Stores –> Configuration. Select Developer option from the Advanced tab at the end. Open Debug dropdown and set Enabled Template Path Hints for Storefront to yes. Click to Save Config.

How to Change Magento 2 Logo

Here are the steps that you will follow to change Logo in Magento 2 Go to your Magento 2 admin. Go to STORES > Configuration > Design > Header Click Choose file and select your logo Click Save Config

Get page id in wordpress

Here is the tips for getting page id in wordpress. First of all I will show page id in admin area. Go to the pages and clcik on that, then you can see all pages list. Look the below screenhsot. After then click on the desired page and you can see the page id on […]