How to enable Login as Customer Settings in Magento 2.4?

From Magento 2.4, New Feature with Out of the box called a login as Customer.

This feature is useful for store administrators only. Store admin can access customer’s order history, check wishlist items, and customer-related information from the frontend by login behalf of the customer when they click on login as the customer button from the admin panel. Continue reading “How to enable Login as Customer Settings in Magento 2.4?”

How to get Elasticsearch Index Prefix value Magento 2?

Elasticsearch Index Prefix parameter used to the indexing of search term prefixes to speed up prefix searches on a website.

You can set Elasticsearch Index Prefix from the admin panel

Settings -> Configuration -> Catalog -> Catalog -> Catalog Search -> Elasticsearch Index Prefix.

Out of the box, the default value is the magento2. Continue reading “How to get Elasticsearch Index Prefix value Magento 2?”

How to get current search engine enabled value Magento 2?

In Magento, You can get the value of the current enable search engine value programmatically.

You can set Search engine from the admin panel

Settings -> Configuration -> Catalog -> Catalog -> Catalog Search -> Search Engine.

To Retrieve the Current search engine value programmatically by interface, Magento\Framework\Search\EngineResolverInterface Continue reading “How to get current search engine enabled value Magento 2?”