Skip to content

Manish Mittal

Magento® Certified | Magento® Community Forum Moderator | eCommerce Consultant

  • Magento 2
    • Lifecycle of Magento software support
  • Certifications
  • Meetup
    • Upcoming Events
    • Past Events
  • Contact Me

order status

How to add programmatically new order status and state using Data Patch in Magento 2?

June 5, 2020 manishmMagento 2

To create new order status and state follow below steps: Create folder Setup/Patch/Data in your module Create file UpdateOrderStatuses.php Implement method apply in the class UpdateOrderStatuses Run bin/magento setup:upgrade When you run Upgrade command, Magento runs your patch and it […]

Share this:

  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to print (Opens in new window)
Read more

About Me

Follow Me

  • Facebook
  • Twitter
  • Instagram
  • LinkedIn

Certifications

Magento associate developer certified
Magento developer plus certified

RECOGNITION

2019 Community Spirit Award

Categories

  • Magento 2
Powered by WordPress | Theme: Astrid by aThemes.