Jump to content

[Please help] 'Address1' select button/ emailadress and terms & conditions


Recommended Posts

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

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!

31276_Umx3CUlc6qr8U3rU8Dv0_t

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...