Payment option

LiteCart Fan
Van Sweden
Lid sinds jul. 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
Van Sweden
Lid sinds mei 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.

U
Deze website maakt geen gebruik van cookies en geen trackingtechnologie van derden . Wij denken dat we het beter kunnen dan anderen en hechten veel waarde aan uw privacy.