Prestashop export orders to API, dropshipping.

En curso Publicado Feb 16, 2013 Pagado a la entrega
En curso

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

PHP

Nº del proyecto: #4251498

Sobre el proyecto

2 propuestas Proyecto remoto Activo Feb 17, 2013

2 freelancers están ofertando un promedio de $30 / hora por este trabajo

toinnisfree

quick pro help. ftp and milestone required.

$35 USD / hora
(593 comentarios)
8.0
SergeyH

extensive Prestashop experience, I sent my questions in PM

$25 USD / hora
(29 comentarios)
4.7