I can't find "COM_VIRTUEMART_MAIL_SUBJ_SHOPPER" in my files... because I want to rename this string that appear in subject mail... :-\
This is the website: www.vitocavone.it (http://www.vitocavone.it)
Thanks :)
These are in the language files, front and backend as the following, depending on the order status:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s], Order is pending at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_R="[%3$s], Refunded order by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s], Shipped order from %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_U="[%3$s], Order received by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_X="[%3$s], Cancelled order by %1$s, total %2$s"
Quote from: jenkinhill on March 06, 2018, 15:51:41 PM
These are in the language files, front and backend as the following, depending on the order status:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s], Order is pending at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_R="[%3$s], Refunded order by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s], Shipped order from %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_U="[%3$s], Order received by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_X="[%3$s], Cancelled order by %1$s, total %2$s"
I created new status:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_1
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_2
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_3
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_4
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_5
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_6
but I can't find it in language.ini :(
You will have to create those in a language override file. https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla
Quote from: jenkinhill on March 06, 2018, 15:51:41 PM
These are in the language files, front and backend as the following, depending on the order status:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s], Order is pending at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_R="[%3$s], Refunded order by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s], Shipped order from %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_U="[%3$s], Order received by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_X="[%3$s], Cancelled order by %1$s, total %2$s"
worked, thank so much.
Joomla! 3.9.3 Stable
VirtueMart 3.2.14
PHP Version 7.1.26
Is there any way to have the customer's name on the email receipt by configuring this on the backend instead of it? I'm currently getting email notifications with subject :
Confirmed order by
[685A03356], COM_VIRTUEMART_SHOPPER_TITLE_(customer name)In want to omit the part that has
COM_VIRTUEMART_SHOPPER_TITLE_Is there any way to do this without me having to go into any index or php files. I don't know how to access those but I do know how to access configuration backend. Please give me step by step instructions. Thanks!
Quote from: baoquocmt159 on January 22, 2019, 08:31:42 AM
Quote from: jenkinhill on March 06, 2018, 15:51:41 PM
These are in the language files, front and backend as the following, depending on the order status:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s], Order is pending at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_R="[%3$s], Refunded order by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s], Shipped order from %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_U="[%3$s], Order received by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_X="[%3$s], Cancelled order by %1$s, total %2$s"
worked, thank so much.
no -- because the replacement var needs changing
I do it this way
components\com_virtuemart\views\invoice\view.html.php ~ line 310
//GJC add shopper name to subject line
// $this->subject = vmText::sprintf('COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_'.$orderDetails['details']['BT']->order_status, $vendor->vendor_store_name, strip_tags($this->currency->priceDisplay($orderDetails['details']['BT']->order_total, $this->user_currency_id)), $orderDetails['details']['BT']->order_number );
//GJC add shopper name to subject line
$this->subject = vmText::sprintf('COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_'.$orderDetails['details']['BT']->order_status, $vendor->vendor_store_name, strip_tags($this->shopperName), $orderDetails['details']['BT']->order_number );
//GJC add shopper name to subject line