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?
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