Hi,
I'm developing an eshop with woman clothes.
My questtion is very simple and i am sure that someone can give me a straight answer, i just can't find where is this coding field to change.
I want to change the subject of a registration email that a shoppers receives after his/her registration.
It says Hello ..... etc and it shows the username of the shopper. I want to change that and give the fullname of the shopper. Which is the right .php file and the line that i have to change ?
I look the mail_html_reguser.php file but it doesn't provide the subject section.
thank you in advance,
Xenofon Kaloudis
You can change subject line by overriding the language constants.
Registration - Admin Mail Subject:
COM_VIRTUEMART_VENDOR_NEW_SHOPPER_SUBJECT="A new shopper %s registered at your shop %s"
Registration - User Mail Subject:
COM_VIRTUEMART_NEW_SHOPPER_SUBJECT="Your registration %s at %s"
You can find them in - components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini
You can override them using Joomla! Language Override Manager - https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla
but to change from user name to full name you will need to change the
public function renderMailLayout($doVendor, $recipient) {
}
in com_virtuemart\views\user\view.html.php
Hi,
Hi, you didn't understand me, i do not want to override something like the message that override section of Joomla provides me.
This %s that you write me in your message is the "username" for the core code and i want to change this value to the Original name/Fullname of the shopper
Thank you.
Quotebut to change from user name to full name you will need to change the
public function renderMailLayout($doVendor, $recipient) {
}
in com_virtuemart\views\user\view.html.php
Hi
sorry GJC Web Design, the previous reply was for Jumbo!.
I solved it with your mentioning. Thank you very much for the quick help you gave me.
I just changed to lines 400 & 403 where "username" to "name" and the fullname is showing to the subject of shoppers and Vendor too.
thank you very much.
This topic is CLOSED by now.
Xenofon Kaloudis
Oops.. I missed that part. :)