示例#1
0
 if ($zone_id > 0) {
     $customer_info->set_zone_id($zone_id);
     $customer_info->set_state('');
 } else {
     $customer_info->set_zone_id('0');
     $customer_info->set_state($state);
 }
 //ADD THE STORE OWNER DATA ....
 if ($_GET['action'] == 'update') {
     $customers_id = $customer_info->create($customers_id);
 } else {
     $customers_id = $customer_info->create();
 }
 $store_info->set_store_type($new_store_type);
 $store_info->set_customers_id($customers_id);
 $store_info->set_customers_data($customers_id);
 $store_info->set_store_name($new_store_name);
 $store_info->set_store_description($store_description);
 $store_info->set_store_category($store_catagory);
 $store_info->set_store_logo('store_image');
 if ($_GET['action'] == 'process') {
     $customer_store_id = $store_info->create_store();
     $store_info->put_store_description();
     $store_info->put_store_category();
     $store_info->put_store_admin();
     $store_info->put_store_data();
     $store_info->put_store_cost();
     $store_info->put_store_products();
     if (ALLOW_STORE_SITE_TEXT == 'true') {
         $store_info->put_store_language('english');
     }