Hey Samfire,
Yes, give this a try in your CSS files:
input {
length: 150px;
}
It should be called stylesheet.css, or something along those lines, depending how your template is setup.
Hey Samfire,
Yes, give this a try in your CSS files:
input {
length: 150px;
}
It should be called stylesheet.css, or something along those lines, depending how your template is setup.
Yes, that is true. If you do not want your field lengths to match, you might try this instead.
#extrafield {
width: 150px;
}
You might find the FireBug tool for Firefox or Chrome useful in these situations. Simply right-click the form field you want to change, and click Inspect Element. You will be able to review the code and find out class or ID of the object you're trying to style.
Is there a way to include the information from the Extra Field in the order confirmation e-mail?
Thanks
Hello, this add-on is a lifesaver and I greatly appreciate it. Thank you!
I'm looking to add multiple extra fields to the account creation and account edit pages. I've used the plugin and have been able to get everything working correctly during account creation. The problem is that when attempting to update an account, only the first extrafield that I added is being updated in the database.
Heres what I have done so far:
1. I've added the db fields for extrafield, extrafield2, and extrafield3
2. I've updated all of the files that came with the add-on to reflect all three extrafields is each place that the original extrafield was added. (I've double checked this)
Any suggestions?
@soniccc
haven't tried it, but in theory this should work. find this file: /includes/classes/order.php
and using 'firstname' as an example field, search through the document and every instance of 'firstname', copy and paste that line, then add your variable.
@jahmar
Sounds like there may be something missing in /includes/modules/pages/account_edit/header_php.php
Do a search for 'extrafield' and make sure there is an instance for extrafield2 and extrafield3 in every single place that the other one is.
I've checked through the file a number of times. The fields that I added are extrafield2 and extrafield3. Here is the info I have added in the various locations:
// start extrafield
$extrafield = zen_db_prepare_input($_POST['extrafield']);
$extrafield2 = zen_db_prepare_input($_POST['extrafield2']);
$extrafield3 = zen_db_prepare_input($_POST['extrafield3']);
// end extrafield
// start extrafield
array('fieldName'=>'customers_extrafield', 'value'=>$extrafield, 'type'=>'string'),
array('fieldName'=>'customers_extrafield2', 'value'=>$extrafield2, 'type'=>'string'),
array('fieldName'=>'customers_extrafield3', 'value'=>$extrafield3, 'type'=>'string'),
// end extrafield
$account_query = "SELECT customers_gender, customers_firstname, customers_lastname,
customers_dob, customers_email_address, customers_telephone,
customers_fax, customers_extrafield, customers_extrafield2,
customers_extrafield3, customers_email_format, customers_referral
FROM " . TABLE_CUSTOMERS . "
Like I mentioned the infromation is correctly inserted into the database from the account creation page. Also the first extrafield updates fine from the account edit page.
Any other thoughts on what could be causing this?
Hmmm... when you go to the account edit page, are extra fields 2 & 3 blank, or are they pre-populated with the correct data from account creation?
They are pre-populated with the correct data from the account creation.
how about on the customers edit page in the admin area? can you see the field data there and edit it?
Bookmarks