10 Pound Gorilla: Dustin
2018-04-26T19:15:22Z
Is there a way to add DNN Profile fields in the email templates. We have some custom fields we need to include in that.

Dustin
10 Pound Gorilla: Dustin
2018-04-30T19:20:02Z
Any ideas on this?
Will Strohl
2018-04-30T21:52:10Z
Sorry that you didn't get an answer right away. If you have questions that require a guaranteed response, I'd suggest the On Premise SLA support plan, or the Developer Support Services plan if your questions will involve code.

https://upendoventures.c...-Commerce-On-Premise-SLA 

https://upendoventures.c...mmerce-Developer-Support 

As for your question, it's surprisingly the first time I remember being asked that. Right now, you're unable to use the DNN tokens without employing a workaround. You'll need to override the e-mail(s) in question by removing their task from the order workflow, and then replace the task with your own, where you can do your own token replacement. Documentation for all of this is below.

https://hotcakescommerce...3-E-Mail-Template-Tokens 

https://hotcakescommerce...Order-Workflow-Solution- 

https://hotcakescommerce...stomers-Programmatically 

I've created a GitHub issue to have the DNN token engine integrated into the e-mail parsing in the future.

https://github.com/Hotca...Commerce/core/issues/126 
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Marnix Bouwman
2018-06-12T08:44:35Z
So, I tried to create a new workflow in which you can kind of override the e-mail.
However, I noticed that this only works in the NEW order process.

So when you send the order e-mail again from the backoffice, it completly ignores this workflow (I guess that is why it is called LoadProcessNewOrderAfterPaymentsTasks)

But then again, you would expect the order e-mail would look the same everywhere, if it is new, or resent or whatever...

So, my question I think is, what should I override to make sure the order always uses the custom e-mail.
Loading
  • Sign-up for the Hotcakes Community Newsletter: