承接 phpro/mage2-module-sales-state-events 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phpro/mage2-module-sales-state-events

Composer 安装命令:

composer require phpro/mage2-module-sales-state-events

包简介

Adds events for state changes for orders, invoices and credit memos

README 文档

README

Sales State Events for Magento 2

This Magento module will add new events for the Magento Sales module. The events are based on state and status changes on orders, invoices and credit memos.

This makes it easier to trigger custom functionality based on state changes.

Installation

composer require phpro/mage2-module-sales-state-events

Key features

Order

Events will be dispatched after an order is successfully saved with a new state or with a new status. It will create events for all statuses, standard or configured.

An event with the new state/status name will be dispatched, for example:

  • sales_order_state_new
  • sales_order_state_complete
  • sales_order_status_pending_payment
  • sales_order_status_new

An event with the new state/status name and the former state/status name will be dispatched, for example:

  • sales_order_state_complete_to_closed
  • sales_order_state_new_to_canceled
  • sales_order_status_new_to_canceled
  • sales_order_status_processing_to_fraud

An event with the (new) state name and the (new) status will be dispatched, for example:

  • sales_order_state_new_status_authorized
  • sales_order_state_processing_status_fraud

Invoice

Events will be dispatched after an invoice is successfully saved with a new state.

An event with the new state name will be dispatched, for example:

  • sales_order_invoice_state_canceled
  • sales_order_invoice_state_paid

An event with the new state name and the former state name will be dispatched, for example:

  • sales_order_invoice_state_pending_to_paid
  • sales_order_invoice_state_pending_to_canceled

Credit Memo

Events will be dispatched after a credit memo is successfully saved with a new state.

An event with the new state name will be dispatched, for example:

  • sales_order_creditmemo_state_canceled
  • sales_order_creditmemo_state_refunded

An event with the new state name and the former state name will be dispatched, for example:

  • sales_order_creditmemo_state_pending_to_refunded
  • sales_order_creditmemo_state_pending_to_canceled

统计信息

  • 总下载量: 50.71k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固