Commerce Message Helper

Component ID

2181671

Component name

Commerce Message Helper

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

406

Component created

Component changed

Component body

This is the little brother of the Commerce Message module: While Commerce Message is a throw-together of a handful functionalities rolled for Kickstarter2, this one does the minimal thing you need to send commerce order related messages:

  • It checks if the message has a entityreference field field_commerce_order (configured with variable commerce_messagehelper_fieldname)
  • If yes, it adds an argument !order-summary that displays the view commerce_cart_summary (configured with variable commerce_messagehelper_viewname)

This way we can include the order sumary in a message.