News:

Looking for documentation? Take a look on our wiki

Main Menu

Wrong class-Attributes-Strings in order_done (3 x)

Started by jooomlaa, January 03, 2014, 16:00:34 PM

Previous topic - Next topic

jooomlaa

\plugins\vmpayment\standard\standard.php
Rule: 133 ff.

wrong parts:

$currency = CurrencyDisplay::getInstance ('', $order['details']['BT']->virtuemart_vendor_id);
$html .= $this->getHtmlRow ('STANDARD_ORDER_NUMBER', $order['details']['BT']->order_number, "vmorder-done-nr");
$html .= $this->getHtmlRow ('STANDARD_AMOUNT', $currency->priceDisplay ($order['details']['BT']->order_total), "vmorder-done-amount");

if ($method->payment_currency != $order['details']['BT']->order_currency) {
$html .= $this->getHtmlRow ('COM_VIRTUEMART_CART_TOTAL_PAYMENT', $totalInPaymentCurrencyDisplay, "vmorder-done-amount");
}


right one:

$currency = CurrencyDisplay::getInstance ('', $order['details']['BT']->virtuemart_vendor_id);
$html .= $this->getHtmlRow ('STANDARD_ORDER_NUMBER', $order['details']['BT']->order_number, ' class="vmorder-done-nr"');
$html .= $this->getHtmlRow ('STANDARD_AMOUNT', $currency->priceDisplay ($order['details']['BT']->order_total), ' class="vmorder-done-amount"');

if ($method->payment_currency != $order['details']['BT']->order_currency) {
$html .= $this->getHtmlRow ('COM_VIRTUEMART_CART_TOTAL_PAYMENT', $totalInPaymentCurrencyDisplay, ' class="vmorder-done-amount"');
}


jjk

Correct me if I'm wrong, but I think you are using an old version. Afaik this was fixed approximately one month ago. Current VM2 version is 2.0.26a.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations