Esempio n. 1
0
 function populateOrderData(&$fields)
 {
     global $modx, $shkconf;
     if (!class_exists('Shopkeeper')) {
         require_once MODX_BASE_PATH . "assets/snippets/shopkeeper/class.shopkeeper.php";
     }
     $shopCart = new Shopkeeper($modx, $shkconf);
     $shopCart->populateOrderData($fields);
     return true;
 }