Magento 2 Custom Order Status: States, Statuses and Workflow
Create custom order statuses in Magento 2, map them to states with a data patch, change them from code safely and avoid Magento resetting them on save.
3 articles
Create custom order statuses in Magento 2, map them to states with a data patch, change them from code safely and avoid Magento resetting them on save.
Create Magento 2 product attributes with a data patch: text, select with options, custom source models, attribute sets, scope, revert and common mistakes.
Change the Magento 2 database without breaking production: db_schema.xml, the whitelist, data and schema patches, revertable patches and the dry-run mode.