Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

meuros

Archived
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Real Name
    CTH

meuros's Achievements

  1. } else { $sql_data_array = array('customers_firstname' => $firstname, 'customers_lastname' => $lastname, 'customers_email_address' => $email_address, 'customers_telephone' => $telephone, 'customers_fax' => $fax, 'customers_newsletter' => $newsletter, // 'customers_password' => crypt_password($password), 'customers_password' => $password, 'customers_default_address_id' => 1); if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $gender; if (ACCOUNT_DOB == 'true') $sql_data_array['customers_dob'] = tep_date_raw($dob); tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); $customer_id = tep_db_insert_id(); $sql_data_array = array('customers_id' => $customer_id, //cchange line below to suit your version //'address_book_id' => 1, //pre MS2 'address_book_id' => (int)$default_address_id, //for MS2 'entry_firstname' => $firstname, 'entry_lastname' => $lastname, 'entry_street_address' => $street_address, 'entry_postcode' => $postcode, 'entry_city' => $city, 'entry_country_id' => $country);[/b] if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender; two times ... ?? maybe there is your failure
  2. Does anybody has an idea about the tax ?? The tax must be calculated for all i enter manually (e.g. spipping 3.50, etc.)
  3. sometimes i am blind at all ... i didn't ad this line 'address_book_id' => (int)$default_address_id, to my create_account_process.php Thanks 4 help :-)) Now it works :-)))))
  4. and alos, if i add somthing between SUB TOTAL and TAX -> it will not change the Tax ...
  5. im myphpadmin ther is a field in customers: customers_default_address_id when i change the number from 1 to 13 (if 12 is my last number), it works
  6. Adding customer will work, but when i will change the customer in customers.php an error follows: Warning: reset(): Passed variable is not an array or object in /home/httpd/htdocs/catalog/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/httpd/htdocs/catalog/admin/includes/classes/object_info.php on line 18 Anybody knows why ? Thanks 4 help.
×
×
  • Create New...