Category Archives: Magento

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;
}

Extension Attributes

Extension attributes are new in Magento 2. They are used to extend functionalities and often use more complex data types than custom attributes. Extension Attributes are used to allow for customization of the strict Service Contracts. These attributes do not appear on the GUI.

Third-party developers cannot change the API Data interfaces defined in the Magento Core code. However, most of these entities have a feature called extension attributes. Check the interface for the methods getExtensionAttributes() and setExtensionAttributes() to determine if they are available for the entity.