Monthly Archives: May 2020
Posted: May 30, 2020Categories: Payment Methods
We have several situation where we need to disable payment method on basis of configuration or conditions. For example Cash On Delivery based on Zipcode where we need to disable payment method based on zipcode availibility. This post will guide you with simple steps so you may know how can we disable paymet method programmtically in magento.
Hello Magento Lovers,
Let's discuss Data Patch in this post. Data Patch is the replacement of the UpgradeData and InstallData.
A data patch is a class that contains data modification instructions. It is defined in a
<Vendor>/<Module_Name>/Setup/Patch/Data/<Patch_Name>.phpfile and implements
A schema patch contains custom schema modification instructions. These modifications can be complex. It is defined in a
<Vendor>/<Module_Name>/Setup/Patch/Schema/<Patch_Name>.phpfile and implements
Unlike the declarative schema approach, patches will only be applied once. A list of applied patches is stored in
Posted: May 01, 2020Categories: Database
Magento 2 updates features and standards in order to simplify the process and improve security. Magento 2 has introduced the declarative schema. The new declarative schema approach allows developers to declare the final desired state of the database and has the system adjust to it automatically, without performing redundant operations.
Posted: May 01, 2020Categories: Magento 2 Pricing & Currency
In Magento as an e-commerce platform, We need to deal with currency in our code. We often get numbers which we need to show as currency or process as currency. This post will help you to convert all your number into a currency format.