Inhalte aufrufen


Add Message Template and new Model From Plugin

Message Template Liquid Model

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 Sherif Ahmed

Sherif Ahmed

    Advanced Member

  • Members
  • 35 Beiträge

Geschrieben: 27 November 2018 - 09:18

What is the proper way to add a Template Model (Plugin Entity) to the Liquid template in the preview mode (Test Mode) and in the normal one?
I Consumed 


so when I try to send the message from my logic the system can not find the new defined model so I handled it in my consumer,

but in the preview mode the event is not fired.


Is there any other way to handle it. and if there is any sample code for this part as a starting point ... that will be great.



Keep up good work

Sherif Ahmed

Software Engineer


#2 Murat Cakir

Murat Cakir

    SmartStore AG

  • Administrators
  • 1103 Beiträge

Geschrieben: 28 November 2018 - 18:28

You should post some code, it's hard for me to guess why the event is not published without any code. The system makes no distinction between live and preview mode, the event is also published in preview mode.

Murat Cakir
SmartStore AG