Location: PHPKode > scripts > Simple Hook and Plug-ins System (XML) > export.example.php
<?php
ob_start();// Important

require('hook.php');

// Export a product
$Product = new products;
$Product->SetProductId('12'); // the product id
$Export = $Product->Export();
if(! $Export)
{
echo 'Arab : ' . $Product->ArLastError() . '<br>';
echo 'English : ' . $Product->EnLastError() . '<br>';
}



?>
Return current item: Simple Hook and Plug-ins System (XML)