Jump to content

Přidání e-mailu do faktury


Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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}

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More