bebeboutik-scripts/sandbox.php
2017-12-18 17:14:31 +01:00

11 lines
290 B
PHP

<?php
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
include('www/config/config.inc.php');
include('www/modules/privatesales/Sale.php');
$sale = new Sale(3412);
$statuts = array(17, Configuration::get('PS_OS_PAYMENT'), 4);
$orders = $sale->getOrdersFromSaleMulti($statuts, 2);
p($orders);