Payment option

LiteCart Fan
Από Sweden
Μέλος από Ιουλ 2013

How to change to not get all payment info on in invoice,
I try to explain my problem.

I want the first "Klarna Checkout"
and take away "(Faktura, delbetalning, kort och direktbank.)"

Original

Klarna Checkout (Faktura, delbetalning, kort och direktbank.)

I want the first "Förskottsinbetalning"

and take away "(En orderbekräftelse kommer skickas ut till"

Original

Förskottsinbetalning (En orderbekräftelse kommer skickas ut till

 
Is it possible to do something to make this in file?
$pdf->Text(53, 90, $order->data['payment_option']['name']);

tim
Founder
Από Sweden
Μέλος από Μαΐ 2013
tim

The payment_option['name'] is populated by module_name(option_name). As one payment module can have multiple payment options it is necessary to know which option was used.

Put the text "En orderbekräftelse kommer skickas ut till" in the module option description rather than the option name.

Otherwise you would have to preg_replace() the text.

Εσύ
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.