Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Profile for Perle4you.at

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 17:53
  • Posts: 6
  • Profile Views: 3141
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
Code orders.pho (orginal virtuemart)
How to replace origi ...
Category: Customer Support
emo
In the FAQ's there ist the description how to replace the orignial virtuemart invoice
www.artio.net/de/faqs/vm-invoice/how-to-...e-mails-and-invoices

Step one ok but i have a problem with step 2:

Step form your FAQ:
----------- START -------------------
"Open file JOOMLA_ROOT /administrator/components/com_virtuemart/models/orders.php
Find line 1290 (can differ depends on your version of VM)

And replace

// Send the email
if (shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'])) {
...

with

// Send the email
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor']);
if ($res===null) //edited: ARTIO: when sent to customer disabled, dont display message.
return true;

if ($res) {

-------------------- END -------------
but in the orignial orders.phr from virtuemart there is no line
if (shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'])) {

the only line i found is
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'],$this->useDefaultEmailOrderStatus);
How to replace origi ...
Category: Customer Support
emo
I need som help to realisze that. Maybe the code in the oders.php have changed.

FAQ says:
// Send the email
if (shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'])) {
...

with

// Send the email
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor']);
if ($res===null) //edited: ARTIO: when sent to customer disabled, dont display message.
return true;

if ($res) {

code in the orders.php

// Send the email
$res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'],$this->useDefaultEmailOrderStatus);

//We need this, to prevent that a false alert is thrown.
if ($res and $res!=-1) {
$string = 'COM_VIRTUEMART_NOTIFY_CUSTOMER_SEND_MSG';
}
else if (!$res) {
$string = 'COM_VIRTUEMART_NOTIFY_CUSTOMER_ERR_SEND';
}
if($res!=-1){
vmInfo( JText::_($string,false).' '.$order['details']['BT']->first_name.' '.$order['details']['BT']->last_name. ', '.$order['details']['BT']->email);
}

return true;
}
How to replace origi ...
Category: Customer Support
emo
Joomlaversion: 2.5.17
VM Invoice: 2.0.28
VM: 2.0.26d
Fatal error: Class ' ...
Category: Customer Support
emo
Dear Support Team!

When i try to open the vm invoice controlpanel i get the following error message:

Fatal error: Class 'JController' not found in xxxxxxxxxxx/administrator/components/com_vminvoice/controller.php on line 12
Fatal error: Class ' ...
Category: Customer Support
emo
Hi!

I'am looking for the seeting to hide the total line after the table row?

Second is therer a subtotal widthout shipping costs?

kind regards
Hide total row after ...
Category: Customer Support
More
Přihlášení uživatele Prázdný