N
N
Nikita2019-02-10 20:15:27
Joomla
Nikita, 2019-02-10 20:15:27

Why does VirtueMart3 not show the payment method in the email?

Hello. Faced a problem. If the client paid with a bank card (Sberbank acquiring), then the new order email does not show the payment method. If the client chose cash when placing an order, then the method of payment is indicated in the letter. Why is that? Standard letter template. I found on the Internet that in a letter you can manually show the payment method in this way:
file /components/com_virtuemart/views/invoice/tmpl/invoice_items.php And the same thing, if in cash, then write in cash, if the bank. card is empty. Please tell me, can anyone come across this? Joomla! 3.8.6 VirtueMart 3.2.12
echo $this->orderDetails['paymentName'];

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lamer350, 2019-02-10
@lamer350

Do an array output print_r($this->orderDetails); and see what data goes into it, perhaps the payment module itself is buggy and you need to fix its code, also see the php error log.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question