PHP SDK
Introduction
How install it ?
Using composer
Using our git
How to use it
#1 - Create a CartsGuruController class
Example of class
<?php
require __DIR__ . '/vendor/autoload.php';
use CartsGuru\CartsGuru\CartsGuru as CartsGuru;
class CartsGuruController extends CartsGuru
{
function __construct()
{
$params = array(
'site_id' => 'your-site-id',
'auth_key' => 'your-auth-key',
);
parent::__construct($params);
}
public function adaptCart($item)
{
return $item;
}
public function adaptOrder($item)
{
return $item;
}
public function adaptProduct($item)
{
return $item;
}
} #2 - Use it !
Send your cart
Send your orders
Add online retargeting feature
FAQ
How carts are identified ?
Last updated