How to get Forgot Password Url in Magento 2?

You can retrieve the forgot password URL from the Customer Module of Magento.

The customer module contains the Forgot password feature for the Account Section. If you have created an account with Magento and you forgot the password and want to reset the password, You can get forgot password page URL by just instantiate the Url Class of Customer Module.

How to Check Product type is bundle by sku in magento 2?

You can check the Product type based on the SKU. If you have only product SKU and want to know about product type Bundle, you can know it easily.

First Load the Product repository by Product SKU, Call the getTypeId() method from the object and match it with Type class predefined product type constant.

How to Retrieve Store code by cookie Magento 2?

You can get the current store code from the browser cookie using Magento.

Sometimes you required to detect store code before any request generated in a store and that time you will help this article. You can check the current store code in beforeDispatch() method of the request and verify for the current store code.