Magento 2 – How to identify current page in phtml file?
Here We will know, whether the current page is a CMS page or category view page or product view page or Homepage in Magento 2 so the first step, to check current page is write the following script in the .phtml file, where you need to identify which …