PHP code example of monkey-data / online-store-xml-feed-generator
1. Go to this page and download the library: Download monkey-data/online-store-xml-feed-generator 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/ */
monkey-data / online-store-xml-feed-generator example snippets
// MonkeyDataExampleXmlGenerator should be loaded via autoload
$xmlGenerator = new MonkeyDataExampleXmlGenerator();
$xmlGenerator->run();
getOrdersItems()
getPaymentsItems()
getShippingsItems()
getProductsItems()
getOrderStatusesItems()
getCustomersItems()
getCategoriesItems()
protected $config = array(
'database' => array(
'use' => true,
'host' => "localhost",
'name' => "db_name",
'user' => "db_user",
'pass' => "db_pass"
)
);