Hallo Jan,
i've a short question:
Where can i find the auto. includet Text + subject in Email-Form from VM-Email-Plugin (plg_phocapdf_virtuemart_email_v1.0.1) to translate it... cant find file location to change this strings.
like marked text:
http://imageshack.us/photo/my-images/82 ... lugin.jpg/
mfg BSE
plg_phocapdf_virtuemart_email_v1.0.1
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: plg_phocapdf_virtuemart_email_v1.0.1
Hi, this you can set in parameters of the plugin.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Sep 2011, 11:03
Re: plg_phocapdf_virtuemart_email_v1.0.1
Hallo Jan,
i'm lil stupid but i cant find params for this plugin. (Phoca Invoice, Delivery Note, Receipt + donated Email Plugin to send invoices via email "plg_phocapdf_virtuemart_email_v1.0.1")
my plugins:
http://imageshack.us/photo/my-images/408/pluginse.jpg/
...
In component "Phoca E-Mail" i cant also change it.
In VM Order-Details -> Delivery -> i can klick on - send invoice via email (Image-button) - a popup is shown with all informations to send email + attachment.
OR
Do u mean to change params in XML File [plugins/phocapdf/virtuemart.xml]?
But if i change "default" value ... i got no changes in auto. defined text on - send invoice via email -
Whats my fail?
mfg BSE
i'm lil stupid but i cant find params for this plugin. (Phoca Invoice, Delivery Note, Receipt + donated Email Plugin to send invoices via email "plg_phocapdf_virtuemart_email_v1.0.1")
my plugins:
http://imageshack.us/photo/my-images/408/pluginse.jpg/
...
In component "Phoca E-Mail" i cant also change it.
In VM Order-Details -> Delivery -> i can klick on - send invoice via email (Image-button) - a popup is shown with all informations to send email + attachment.
OR
Do u mean to change params in XML File [plugins/phocapdf/virtuemart.xml]?
Code: Select all
<param name="delivery_email_invoice_msg" type="phocaeditor" hide="image,article,pagebreak,readmore,phocagallery,phocadownload" safehtml="true" default="Dear Customer, <br /><br />Thank you for your order dated {OrderDate}. Enclosed you will find PDF invoice.<br /> The items you ordered will be shipped within a week.<br/>We assure you that your order will be performed to your entire satisfaction.<br /></br />Yours sincerely<br /><br />{Footer}" label="PLG_PHOCAPDF_VM_FIELD_DELIVERY_EMAIL_INVOICE_MSG_LABEL" description="PLG_PHOCAPDF_VM_FIELD_DELIVERY_EMAIL_INVOICE_MSG_DESC" />
Whats my fail?
mfg BSE
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Sep 2011, 11:03
Re: plg_phocapdf_virtuemart_email_v1.0.1
OMfG
i'm so stupid
components -> phocapdf -> plugin -> tab(email)
Problem solved!
BTW:
exists a "smarty" { } to insert customer first+lastname ? like {customername}
mfg BSE
i'm so stupid
components -> phocapdf -> plugin -> tab(email)
Problem solved!
BTW:
exists a "smarty" { } to insert customer first+lastname ? like {customername}
mfg BSE
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Sep 2011, 11:03
Re: plg_phocapdf_virtuemart_email_v1.0.1
So...
To add (ger) "Anrede" / (eng) "???salutation or honorific???" like {Anrede}
to auto inssert email-form-text... i added in
[plugins/phocapdf/virtuemart/virtuemarthelper.php]
after:
following code:
same for:
and
(BTW also solved)
To add (ger) "Anrede" / (eng) "???salutation or honorific???" like {Anrede}
to auto inssert email-form-text... i added in
[plugins/phocapdf/virtuemart/virtuemarthelper.php]
after:
Code: Select all
if ($r['type'] == 'invoice') {
$subjectI = $pluginP->get('delivery_email_invoice_subject', 'Invoice Nr.: ');
$r['subject'] = $subjectI . sprintf("%08d", $delivery_id) . ' (' . $r['orderfrom']. ')' ;
$message = $pluginP->get('delivery_email_invoice_msg', 'Dear Customer...}');
$message = str_replace('{OrderId}', sprintf("%08d", $order_id), $message);
$message = str_replace('{OrderDate}', $dbo->order_date, $message);
$message = str_replace('{Footer}', $r['emailfooter'], $message);
Code: Select all
$message = str_replace('{Anrede}', $dbu->title.' '.$dbu->first_name.' '.$dbu->last_name, $message);
same for:
Code: Select all
} else if ($r['type'] == 'receipt') {
Code: Select all
} else {
(BTW also solved)
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: plg_phocapdf_virtuemart_email_v1.0.1
Ok
If you find Phoca extensions useful, please support the project