has anyone got information how to add a dropdown list for references (where they heard about us) into the login section?
has anyone got information how to add a dropdown list for references (where they heard about us) into the login section?
Tharina
I followed all the the suggested steps and all works, except when creating an account for the first time, a user receives this error when submitting their login info.
1062 Duplicate entry '2' for key 1
in:
[insert into customers_info (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('2', '0', now())]
They still get an account, and everything saves to the database, but it doesnt transfer them to the confirmation page.
Any ideas how to fix this?
Hi, after going over and over this I still can't seem to get it up and running. So I was wondering. If someone who has this Add field thing up and running on their site, could they post up for download the pages they updated to make it work with just one added field "With Comments like /* Add Additional Field Here */ ", so I and probably quite a few others can simply add as many fields to it as we like following the added code as a guide, and it would still work when uploaded to our sites.
Could this be a possibility.
Cheers
J#xx
(Scott Perry)
I added my old client database through phpadmin and now it shows this error messages above my customer panel in admin.
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/evergree/public_html/shop/admin/customers.php on line 1155
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/evergree/public_html/shop/admin/customers.php on line 1157
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/evergree/public_html/shop/admin/includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in /home/evergree/public_html/shop/admin/includes/classes/object_info.php on line 30
any ideas what I must do to fix it?
Tharina
Hi and thanks to those who share their knowledge...
Could some one help me out to include this taxid field in the order email and to print.
Thanks in advance.
Thanks for sharing. I created a different type of field, but this thread gave me a good idea of what needed to be edited.
Great post!
I'm sorry but this is probably a really stupid question.
How do I just echo the data from the customers table, without an editable field?
Thanks
I have been right through all the instrcutions on this thread and still stumped. I am trying to add a field to allow customer to enter thier website address.
When I get to
9. Now open file: includes/templates/YOURTEMPLATE/templates/tpl_modules_create_account.php
9a. Now search for the following code:
<?php
if (ACCOUNT_FAX_NUMBER == 'true') {
?>
<br class="clearBoth" />
<label class="inputLabel" for="fax"><?php echo ENTRY_FAX_NUMBER; ?></label>
<?php echo zen_draw_input_field('fax', $account->fields['customers_fax'], 'id="fax"') . (zen_not_null(ENTRY_FAX_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_FAX_NUMBER_TEXT . '</span>': ''); ?>
<?php
}
?>
I open the file and find the above section but it is slightly different to what I have. This is not in my file
$account->fields['customers_fax'],
So I tried entering
<br class="clearBoth" />
<label class="inputLabel" for="website"><?php echo ENTRY_WEBSITE_NUMBER; ?></label>
<?php echo zen_draw_input_field('website', ' ','id="website"') . (zen_not_null(ENTRY_WESITE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_WEBSITE_NUMBER_TEXT . '</span>': ''); ?>
<?php
}
?>
And if I make the changes as suggested then view the page /index.php?main_page=login The ID and Password fields are still there , but everything else has gone.
help, please
I followed the instruction below, everthing works fine EXCEPT
when I edit any of the newely added customer info from ADMIN panel,
then all the customer info is gone, except the one in zencart default customer field.
Do I miss something? Anybody have same problem as me. Please help!
thanks in advance,,
Works like a charm. Added 2 fields, they populate the database. How do I get them in to show up in invoice???
Bookmarks