Guest Posted September 17, 2010 Posted September 17, 2010 Hi Just wondering how I can delete the drop down box "Country" from the "My Account Information Page" and replace with one that says "Suburb" Any one able to help. Many thanks Grandpa
Guest Posted September 17, 2010 Posted September 17, 2010 John, In the admin area, under configuration, customer details, you can toggle suburb from being asked on the create account page. However, you will have to change the hard code for country in the create_account.php file. Chris
satish Posted September 17, 2010 Posted September 17, 2010 Hi Just wondering how I can delete the drop down box "Country" from the "My Account Information Page" and replace with one that says "Suburb" Any one able to help. Many thanks Grandpa Just wondering how I can delete the drop down box "Country" from the "My Account Information Page" and replace with one that says "Suburb" Rep: first run this query into database . INSERT INTO configuration VALUES ('', 'Country', ' ACCOUNT_COUNTRY', 'true', ‘Choose you would like to display country field on my account page.’ 5, 0, NULL, now(), '', 'tep_cfg_select_option(array(\'true\', \'false\'),'); This query will create an interface in admin. Configuration=>customer detail=> country. Where you will get option to make true/false the country on create account page. To get true/false options work. next Configuration=>customer detail=> Subrub. set true for this option find this code on create_account.php file :- <tr> <td class="main"><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> And replace with this code:- <?php if (ACCOUNT_COUNTRY == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> <?php } ?> Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
Guest Posted September 19, 2010 Posted September 19, 2010 John, In the admin area, under configuration, customer details, you can toggle suburb from being asked on the create account page. However, you will have to change the hard code for country in the create_account.php file. Chris Hi Chris Again, many thanks Cheers John
Guest Posted September 19, 2010 Posted September 19, 2010 John, In the admin area, under configuration, customer details, you can toggle suburb from being asked on the create account page. However, you will have to change the hard code for country in the create_account.php file. Chris Hi Chris Is there anyway you can get the Company details to appear in the "customer page" in the Admin area, as at the moment for me, it only shows the Personal details not any company details. So it could become rather confusing knowing which personal detail belongs to which Company. Many thanks Kind regards John
Recommended Posts
Archived
This topic is now archived and is closed to further replies.