Hot answers tagged

2 votes

How can i check Magento site request comes from other unknown website in Magento 2?

In Magento 2, you can use the HTTP_REFERER to check the source of a request. This header will contain the URL of the website that the request is coming from. You can check the value of this header in ...
  • 395
1 vote

Create a new Magento Status

To create new order status and state follow below steps: 1.Create folder Setup/Patch/Data in your module 2.Create file UpdateOrderStatuses.php 3.Implement method apply in the class UpdateOrderStatuses ...

Only top scored, non community-wiki answers of a minimum length are eligible