PHP code example of vaclavbohac / overenozakazniky
1. Go to this page and download the library: Download vaclavbohac/overenozakazniky library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vaclavbohac / overenozakazniky example snippets
$overeno = new HeurekaOvereno('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
$overeno->setEmail('[email protected]');
$overeno->addProduct('Nokia N95');
// array $products is populated elsewhere by shop application
foreach ($products as $product) {
$overeno->addProduct($product);
}
$overeno->addProductItemId('B1234');
$overeno->addOrderId(123456);
$overeno->send();