gerritsen142 Posted October 11, 2010 Share Posted October 11, 2010 Hi guys,I am struggling for a few days now to adjust the address_delivery page. I would like to delete the 'adress1' button and to add the emailadress and terms of conditions checkbox (notice the attachment).Any help is highly appreciated!Thank you Link to comment Share on other sites More sharing options...
eltitos Posted October 12, 2010 Share Posted October 12, 2010 Hi,For the part, "remove address1"In the order-address.tpl change the line by You may want to remove the checkbox too (if it's not done yet).For the email address you just have to add this line : {$cookie->email} inside the ul class : ></pre> <ul> Link to comment Share on other sites More sharing options...
gerritsen142 Posted October 12, 2010 Author Share Posted October 12, 2010 Hi Eltitos,Thanks for your quick help man! I have adjusted the lines as you suggested, and all looks ok!One thing however:When a costumer would like to adjust his data, all the fields which where hidden in the initial field are suddenly there again. Any ideas on how to hide/add fields there?Note the attachement for a clarification.Thanks again man. This is great! Link to comment Share on other sites More sharing options...
eltitos Posted October 12, 2010 Share Posted October 12, 2010 when a customer want to change his address informations it's using a different page. So you have to edit the address.tpl too in your themes folder Link to comment Share on other sites More sharing options...
gerritsen142 Posted October 12, 2010 Author Share Posted October 12, 2010 when a customer want to change his address informations it's using a different page. So you have to edit the address.tpl too in your themes folder Thanks.I have changed the address.tpl and managed to hide the phone number and but once I hide the company label, it gives and error (unexpected error; please refresh the page).<form action="{$base_dir_ssl}address.php" method="post" class="std"> {if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if} {* <input type="hidden" name="token" value="{$token}" /> {l s='Company'} <input type="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{else}{$address->company|escape:'htmlall':'UTF-8'}{/if}" /> *} {l s='First name'} <input type="text" name="firstname" id="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{$address->firstname|escape:'htmlall':'UTF-8'}{/if}" /> * Any ideas? Link to comment Share on other sites More sharing options...
eltitos Posted October 12, 2010 Share Posted October 12, 2010 try ti move this line <input type="hidden" name="token" value="{$token}" /> out of the comment Link to comment Share on other sites More sharing options...
gerritsen142 Posted October 13, 2010 Author Share Posted October 13, 2010 Great, this works again.Another thing:Would you be able to tell where I can change the translations of the error messages.Currently it says:"Er is 1 fout : 1. city is verplicht"Obviously, I would need to translate 'city' into 'stad' (dutch website).Thanks again! Link to comment Share on other sites More sharing options...
eltitos Posted October 13, 2010 Share Posted October 13, 2010 did you check in the bo -> tools -> translation -> error message translation ?? Link to comment Share on other sites More sharing options...
gerritsen142 Posted October 13, 2010 Author Share Posted October 13, 2010 did you check in the bo -> tools -> translation -> error message translation ?? Hi Elitos,Thanks again main, but it is not there. I already tried that, but the error text is not in the BO. Any other ideas?Thanks 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