Jump to content
Latest News: (loading..)

anttimie

Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Antti Miettinen
  1. anttimie

    Customers extra fields

    Haa found out finally.... had this at totally wrong place... at "checkout_shipping.php".. eh. No wonder. :blush: //START Customers Extra Field tep_db_query("delete from " . TABLE_CUSTOMERS_TO_EXTRA_FIELDS . " where customers_id=" . $customer_id); $extra_fields_query = tep_db_query("select ce.fields_id from " . TABLE_EXTRA_FIELDS . " ce where ce.fields_status=1 "); while($extra_fields = tep_db_fetch_array($extra_fields_query)){ $sql_data_array = array('customers_id' => $customer_id, 'fields_id' => $extra_fields['fields_id'], 'value' => $HTTP_POST_VARS['fields_' . $extra_fields['fields_id']]); tep_db_perform(TABLE_CUSTOMERS_TO_EXTRA_FIELDS, $sql_data_array); } //END Customers Extra Field
  2. anttimie

    Customers extra fields

    Hey. thanks for wonderful add-on! :) Installed to 2.3.1 Everything working like it should, except when I place "test order". All the fields in the extra fields dissapear (also from admin) and don't show in reply-email. Any help? Edit: All data is at DB... Edit2: Err, seems after test order DB data goes to ZERO.
×