VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Patricck on November 09, 2015, 21:39:45 PM

Title: VM3 -registration email template
Post by: Patricck on November 09, 2015, 21:39:45 PM
Hi all,

could somebody please help me with configuring the user registration template? I would need a pretty design, but as i couldnt find any easy solution.

This is how my email looks like at the moment:

Joomla versions: Joomla! 3.4.5 Stable
VM version: VirtueMart 3.0.9


At the center, gray background - text i can change.
Thanks
Patrik
Title: Re: VM3 -registration email template
Post by: jenkinhill on November 09, 2015, 23:30:38 PM
http://forum.virtuemart.net/index.php?topic=128401.0

http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: VM3 -registration email template
Post by: Patricck on November 10, 2015, 08:40:18 AM
Sorry - edited post (added versions).
Title: Re: VM3 -registration email template
Post by: jenkinhill on November 10, 2015, 11:32:16 AM
Your VM version is too old. Current latest is VM3.0.11.4

So are you already using any template overrides? In the title you say " email template" and in text you say "registration template" - which exactly do you mean?
Title: Re: VM3 -registration email template
Post by: Patricck on November 10, 2015, 12:04:09 PM
Thanks - i will update it :)
Sorry,
i want to change the registration email template (form of the emails).
I am using Vina Bonnie template with virtuemart. But i have found the following component:
http://extensions.joomla.org/extension/emails-for-virtuemart

Probably will use this one.

Title: Re: VM3 -registration email template
Post by: jenkinhill on November 10, 2015, 12:14:06 PM
I know nothing of that template but it could be using badly constructed or out of date overrides for email. The default VM email does not look like that!

The default VM email templates are in components/com_virtuemart/views/invoice/tmpl  - the main element is mail_html.php with the other elemnts of the page with names beginning mail_html_ 
The templates are easy to edit to create your own style - use the edited files as new overrides.
Title: Re: VM3 -registration email template
Post by: Patricck on November 28, 2015, 19:13:06 PM
Thanks for the answer,
it took some time to identify. I have checked the php files to identify configs. I am using the default email template file - no overrides. The issue is that in GMAL the registration email looks totally different. In outlook, all is OK.

Attached is the same mail in outlook, in gmail and the config file.

Is it possible to make the mail good looking also in gmail and other email clients?

Sorry, but i am 0 in php  :(

Thanks

Kind regards
Patrik

Title: Re: VM3 -registration email template
Post by: GJC Web Design on November 28, 2015, 19:24:39 PM
the simplest solution.. will save u hours

https://www.virtuemarttemplates.eu/virtuemart-templates/virtuemart-order-emails.html
Title: Re: VM3 -registration email template
Post by: Patricck on November 28, 2015, 19:27:40 PM
This is working also for registration email? i dont need it for order emails, as i am using an external plugin for invoice management, which handles also order emails.
Title: Re: VM3 -registration email template
Post by: GJC Web Design on November 28, 2015, 21:10:04 PM
doesn't the reg mail come from Joomla?
Title: Re: VM3 -registration email template
Post by: Patricck on November 29, 2015, 12:15:00 PM
No - dont think so. After registering with Joomla menu item as user, i got a totally different registration mail template to my inbox.

Title: Re: VM3 -registration email template
Post by: jenkinhill on November 29, 2015, 13:37:07 PM
You can override the mail registration templates.
components/com_virtuemart/views/user/tmpl/mail_html_regvendor.php   for the email to the vendor.
components/com_virtuemart/views/user/tmpl/mail_html_reguser.php   for the email to the shopper

Changes can be made in the html or css, Gmail works better with inline css so that is what I use when styling the mails. Few of my clients actually use registration, most prefer to stick to guest checkout only to  simplify and speed the checkout process.
Title: Re: VM3 -registration email template
Post by: Patricck on November 29, 2015, 14:38:56 PM
The issue is, that i am not a php nor css programmer :-/ Is it possible to change the virtuemart registration mail html reguser with joomla one. I would need only a short text, whit a registration link, no table format, or anything else.

Thanks

Patrik