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

sales order

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

I am working as a consultant for eCommerce solutions and website development with a renowned Magento Professional Solutions partner company. An Official Magento Community Forum Moderator and has been awarded Magento Community Spirit Award in 2019. Magento® Certified with 9+ years of experience in Magento, Magento 2 development, eCommerce and Agile Project Management.

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.