VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: dazzafact on April 30, 2015, 10:37:09 AM

Title: 3.0.6.2 - Emails didnt prepare Content from plugins
Post by: dazzafact on April 30, 2015, 10:37:09 AM
Hello there! Isnt it a great Day??
But i have a Problem with my the order mails. I have the Joomla Plugin "snippet" (https://www.nonumber.nl/extensions/snippets)s (NoNumer) to prepare me all my Contents.
It work fine, with the exception It will not prepare me the Email-Templates.
It would be nice if there is a Checkbox to choise between "prepare Content" or not.
Title: Re: 3.0.6.2 - Emails didnt prepare Content from plugins
Post by: Studio 42 on April 30, 2015, 12:41:13 PM
Hi,
This is not a configuration issue or missing.
To add such snippets, the view have to trigger "oncontentprepare" to get the change from a plugin.
But in the case of order mails, it's not integrated.

Why you don't simply do not add your text in the template and want use a plugin?
Title: Re: 3.0.6.2 - Emails didnt prepare Content from plugins
Post by: dazzafact on April 30, 2015, 15:55:57 PM
Quote from: Studio 42 on April 30, 2015, 12:41:13 PM
Why you don't simply do not add your text in the template and want use a plugin?

This isn't very helpful, because the next update of VM3 will destroy the Script again.
Title: Re: 3.0.6.2 - Emails didnt prepare Content from plugins
Post by: jenkinhill on April 30, 2015, 17:12:25 PM
Quote from: dazzafact on April 30, 2015, 15:55:57 PM
the next update of VM3 will destroy the Script again.

Not if you use template overrides, which is the standard way to do things like this.
Title: Re: 3.0.6.2 - Emails didnt prepare Content from plugins
Post by: dazzafact on April 30, 2015, 19:02:06 PM
Ok Thanks, good idea, i will research that.