Käynnissä

Prestashop export orders to API, dropshipping.

Hello

I need to embed php script into PrestaShop.

After ordering goods by the customer, automatically sends order information and address of the customer.

Example:

email = $ email;

    }

    public function phone ($ phone) {

        $ This-> phone = $ phone;

    }

    public function dodaci_adresa ($ dodaci_adresa) {

        $ This-> dodaci_adresa = $ dodaci_adresa;

    }

    public function fakturacni_adresa ($ fakturacni_adresa) {

        $ This-> fakturacni_adresa = $ fakturacni_adresa;

    }

    public function Note ($ notes) {

        $ This-> note = $ note;

    }

    public function id ($ id) {

        $ This-> id = $ id;

    }

    public function Delivery ($ dodani_id) {

        $ This-> Delivery = $ dodani_id;

    }

    public static function encoding ($ encoding) {

        self :: $ encoding = $ encoding;

    }

    

    public function addZbozi ($ articles) {

        $ This-> Baby [] = $ Baby;

    }

    

    public function send () {

        $ S = "code =". Urlencode (self :: $ code);

        $ S. = "& Version =". Urlencode ("0.6.3");

        $ S. = "& Partner = '. Intval (self :: $ partner);

        $ S. = "& Campaign =". Intval (self :: $ campaign);

        $ S. = "& Confirm =". Intval (self :: $ confirm);

        $ S. = "& Partner = '. Intval (self :: $ partner);

        $ S. = "& Source =". Urlencode (self :: $ urlZdroj);

        $ S. = "& Zdroj2 =". Urlencode ($ _SERVER ['HTTP_HOST']);

        $ S. = "& Xml =". Urlencode ($ this-> parse ());

        

        $ CURL = curl_init ();

       curl_setopt ($ curl, CURLOPT_URL, self :: $ urlCil. "/ Affile-orders");

       curl_setopt ($ curl, CURLOPT_RETURNTRANSFER, 1);

       curl_setopt ($ curl, CURLOPT_TIMEOUT, 10);

      

        curl_setopt ($ curl, CURLOPT_POST, 1);

       curl_setopt ($ curl, CURLOPT_POSTFIELDS, $ s);

       

       $ PageContent = trim (curl_exec ($ cURL));

       curl_close ($ cURL);

    return $ pageContent;

    }

............. more in Annex

Taidot: PHP

Näytä lisää: prestashop php dropshipping, prestashop api export, prestashop dropshipping, xml export, prestashop email, php prestashop, orders, dropshipping, php curl source code, prestashop php version, goods api, prestashop orders, prestashop send email php, phone api script, baby phone, dropshipping api, email campaign script, php prestashop api, phone order prestashop, prestashop curl, script php dropshipping, php curl prestashop, prestashop api xml, prestashop export orders, curl prestashop

About the Employer:
( 23 reviews ) Jirkov, Czech Republic

Projektin tunnus: #4251498

2 freelanceria on tarjonnut keskimäärin 30 $/tunti tähän työhön

toinnisfree

quick pro help. ftp and milestone required.

$35 USD / tunti
(593 arvostelua)
8.0
SergeyH

extensive Prestashop experience, I sent my questions in PM

$25 USD / tunti
(29 arvostelua)
4.7