Page 1 of 1

OpenCart events (script notifications)-Missing common events

Posted: Tue Feb 03, 2015 8:47 pm
by plugables
OC2's events are great for achieving custom behavior without modifying the core files. However there are a number of common events missing.
The list of current events is here https://github.com/opencart/opencart/wi ... cations%29

What I believe missing is
  • Order Placed - This is not the same as order added. This will fire after confirmation of order placement
  • Order Cancelled
  • Order Paid
  • Order Shipped
  • Order Note Added
  • Order Status Updated
  • Forgot Password Request Initiated
  • Inventory Destocked
  • Inventory Restocked
  • Low Inventory Item Purchased
  • Payment Authorized
  • Payment Authorization Failed
  • Payment Captured
  • Payment Capture Failed
  • Payment Refunded
  • Shipment Shipped
  • Shipment Returned
and some others...

Re: OpenCart events (script notifications)-Missing common ev

Posted: Sat Feb 07, 2015 1:46 am
by Dhaupin
Would be cool to see some admin/api ones too
admin.user.login
admin.user.logout
admin.user.failed
admin.user.add
admin.user.edit
admin.user.delete
admin.api.login
admin.api.logout
admin.api.failed
admin.api.add
admin.api.edit
admin.api.delete
admin.group.add
admin.group.edit
admin.group.delete

These could be neat for making lockouts too (prevents double editing)
admin.user.enter_node
admin.user.exit_node