Traper Posted September 4, 2009 Share Posted September 4, 2009 Nevíte někdo, jak přidat e-mail do faktury PDF? A také jak přidat tel. číslo do potvrzovacího e-mailu? Link to comment Share on other sites More sharing options...
XM4N Posted September 4, 2009 Share Posted September 4, 2009 Tel. cislo do potvrzovaciho emailu pridas jednoduse...otevres si slozku mails a tam si otevres danou sablonu a do ni to vlozis natvrdo treba misto textu zalozeno na prestashopu Drzim palce. Link to comment Share on other sites More sharing options...
Traper Posted September 4, 2009 Author Share Posted September 4, 2009 Jenze ja potrebuji dostat e-mailovou adresu zakaznika do PDF faktury a hlavne tel. cislo zakaznika do e-mailu, ktery chodi pri nove objednavce. Link to comment Share on other sites More sharing options...
vigel Posted September 4, 2009 Share Posted September 4, 2009 v PDF.php if (!empty($delivery_address->phone)) { $pdf->Ln(3); $pdf->Cell(50,7, Tools::iconv('utf-8', self::encoding(),"telefon:").' '.Tools::iconv('utf-8', self::encoding(), $delivery_address->phone), 0, 'L');; } if (!empty($delivery_address->phone_mobile)) { $pdf->Ln(4); $pdf->Cell(50,7, Tools::iconv('utf-8', self::encoding(),"mobil:").' '.Tools::iconv('utf-8', self::encoding(), $delivery_address->phone_mobile), 0, 'L');; } mozna ti to pomuze,nebo aspon nakopne Link to comment Share on other sites More sharing options...
armur Posted September 4, 2009 Share Posted September 4, 2009 Což takhle do emailu předpokládám email který chodí zákazníkovi najdi si soubor new_order.html v modules/mailalerts/mails/cz/no a není nic jednoduššího než tam vložit níže uvedený kód ,kam to už je na tobě {email} Link to comment Share on other sites More sharing options...
Traper Posted September 5, 2009 Author Share Posted September 5, 2009 Diky za rady, ale potrebuji presne naopak. Do PDF.php dostat e-mail ne telefon(ten uz tam mam) a do e-mailu tzn. new_order.html dostat telefon zakaznika uvedeny pri registraci(e-mail uz tam taky mam). Link to comment Share on other sites More sharing options...
armur Posted September 5, 2009 Share Posted September 5, 2009 No ja myslím že v tom emailu nová objednávka tam telefón je pokud vím.Zobrazí se pokud ho zákazník vyplní.Nebo ne? Link to comment Share on other sites More sharing options...
Traper Posted September 5, 2009 Author Share Posted September 5, 2009 Bohuzel, ve verzi 1.0.0.8 toto nastaveno neni. Ani pridani delivery_phone_mobile nebo delivery_phone do order_conf.html nebo new_order.html. Link to comment Share on other sites More sharing options...
armur Posted September 5, 2009 Share Posted September 5, 2009 Tak to jsem předpokládal že používáš novou verzi neb jsi nikde neuvedl jakou vlastně používáš. Link to comment Share on other sites More sharing options...
Traper Posted September 5, 2009 Author Share Posted September 5, 2009 Moje chyba ;-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now