nclark Posted May 30, 2013 Share Posted May 30, 2013 There are several things I would like to change to the Create Your Account page: Remove the Company Information section Your Address section - remove Home Phone and change Mobile to just Phone Remove the Tax Identification Also, where would I got to change the size of the form, it is showing up very small with a sidebar slider/scroller and I would like for it to get rid of the sidebar scroller and it just all be showing on the page. Attached is a picture of what it is doing. Thanks in advance, Nataliecreateaccount.tiff Link to comment Share on other sites More sharing options...
vekia Posted May 30, 2013 Share Posted May 30, 2013 To edit necessary fields in register form, go to the localization > countries tab in your back office, click on EDIT button near the each active country and change address format (you've got it in the white box) it looks like you use non default template, so it's hard to say what you have to change to achieve solution for second request. Link to comment Share on other sites More sharing options...
nclark Posted May 30, 2013 Author Share Posted May 30, 2013 It is the default template. Link to comment Share on other sites More sharing options...
nclark Posted May 31, 2013 Author Share Posted May 31, 2013 That did not fix the problem. Is there anywhere else I may need to go to modify, maybe in an actual .tpl file? I'm wondering if the second problem with the scroll bar is a CSS thing? Any help would be awesome!! Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2013 Share Posted June 1, 2013 You must edit address format for each active country in your store. Moreover, if you want to disable (or remove) "required" fields, you have to edit address class: classes/address.php you've got there something like: public static $definition = array( 'table' => 'address', 'primary' => 'id_address', 'fields' => array( 'id_customer' => array('type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false), 'id_manufacturer' => array('type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false), 'id_supplier' => array('type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false), 'id_warehouse' => array('type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false), 'id_country' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => false), 'id_state' => array('type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId'), 'alias' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32), 'company' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 64), 'lastname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32), 'firstname' => array('type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 32), 'vat_number' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'), 'address1' => array('type' => self::TYPE_STRING, 'validate' => 'isAddress', 'required' => true, 'size' => 128), 'address2' => array('type' => self::TYPE_STRING, 'validate' => 'isAddress', 'size' => 128), 'postcode' => array('type' => self::TYPE_STRING, 'validate' => 'isPostCode', 'size' => 12), 'city' => array('type' => self::TYPE_STRING, 'validate' => 'isCityName', 'required' => true, 'size' => 64), 'other' => array('type' => self::TYPE_STRING, 'validate' => 'isMessage', 'size' => 300), 'phone' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32), 'phone_mobile' => array('type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32), 'dni' => array('type' => self::TYPE_STRING, 'validate' => 'isDniLite', 'size' => 16), 'deleted' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'copy_post' => false), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat', 'copy_post' => false), 'date_upd' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat', 'copy_post' => false), ), ); required fields have got variable: 'required' => true you have to remove it or change to false Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now