Category Archives: Magento

Magento 2 disable captcha from admin login form

Disable Using Command Line

php bin/magento config:set admin/captcha/enable 0
php bin/magento cache:flush

Disable Directly in Database

UPDATE core_config_data
SET value = 0
WHERE path = ‘admin/captcha/enable’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/fonts%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/mode’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/forms%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/enable%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/always_for%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/type%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/timeout%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/failed_attempts_logging%’;

DELETE FROM core_config_data WHERE path LIKE ‘admin/captcha/max_attempts%’;

Customer Attributes

Customer attributes provide the information that is required to support the order, fulfillment, and customer management processes. Because your business is unique, you might need fields in addition to those provided by the system. You can add custom attributes to the Account Information, Address Book, and Billing Information sections of the customer’s account. Customer address attributes can also be used in the Billing Information section during checkout, or when guests register for an account.

https://docs.magento.com/user-guide/v2.3/stores/attributes-customer.html

 

Payment Method Facade

Payment facade it is an instance of Payment Adapter configured with virtual types and allows to process payment actions between Magento Sales Management and payment processor.

Add the dependency injection (DI) configuration for payment method facade in your %Vendor_Module%/etc/di.xml.

https://devdocs.magento.com/guides/v2.3/payments-integrations/base-integration/facade-configuration.html

Content Staging

Content staging gives your business team the ability to easily create, preview, and schedule a wide range of content updates for your store directly from the Admin. For example, rather than thinking in terms of a static page, consider a page to be a collection of different elements that can be turned on or off based on a schedule. You can use content staging to create a page that changes automatically throughout the year on schedule.

Content staging is a feature that allows creating, previewing, and scheduling content updates for your store
directly from the Admin . You can use content staging to create campaigns that include changes to products,
categories, pages, blocks, widgets, price rules, and more.

magento 2 enterprise admin showing blank page

This is Magento bug. Wrong paths to Windows are generated. The fixed fix is

Magento 2.3.0 – 2.3.3

#/vendor/magento/framework/View/Element/Template/File/Validator.php:140
the string

if (0 === strpos($realPath, $directory)) {
return true;
}
to replace

$realDirectory = $this->fileDriver->getRealPath($directory);
if ($realDirectory && 0 === strpos($realPath, $realDirectory)) {
return true;
}