But how to disable showing gender (mr. / ms.) selection? I can't find that anywhere and really want to take it away.
But how to disable showing gender (mr. / ms.) selection? I can't find that anywhere and really want to take it away.
Hi Ajey:
I realize that this is an old post, but hope you can help me out here.
The only change that I want to make to my site right now is have it so that the telephone number is not a required field. I followed the first half of your advice, the easy part by chaning the minimum field for the phone number to blank.
It's the second part that I'm not quite understanding. If I go into my languages folder...what file am I looking for with the phone number in it? I still very inexperience so I don't want to play with things that I shouldn't be touching. Could you please give me a little more direction for changing the required field and getting rid of the red * on the phone number.
All of my products are downloadable so I don't see the need for the phone number.
Thanks so much.
[FONT=Georgia]Micki[/FONT]
[FONT=Lucida Sans Unicode]Paradise Embroidery Designs[/FONT]
From one new Zenner to another. I just did this tonight. You go into your store , click on "Configuration" , then click on "Customer Details". The very first line will say "Email Salutation" change that value to "false". I did this and it removed the Mr and Ms option.
Worked for me, I hope it does for you to.
[FONT=Georgia]Micki[/FONT]
[FONT=Lucida Sans Unicode]Paradise Embroidery Designs[/FONT]
Hi Micki
May I respectfully refer you to the post I made earlier
http://www.zen-cart.com/forum/showpo...4&postcount=35
This contains detailed instructions on how to slimline the process. I also deal only in download products, hence the steamlined process.
Hope it helps. Yell if you need any further help
Thanks John for referring me to you earlier post. I will read through it thoroughly and try to make some changes.
The only thing that I really want to accomplish is making the phone number optional instead of mandatory. I think that I've done that, but have to get rid of the "*".
[FONT=Georgia]Micki[/FONT]
[FONT=Lucida Sans Unicode]Paradise Embroidery Designs[/FONT]
Hi Micki
This is the file you need to edit. Make sure you have made a template file (your_template).......
your domain name/shop directory (if required)/includes/languages/YOURTEMPLATE/english.php
define('ENTRY_TELEPHONE_NUMBER_TEXT', '*'); Remove * (removes the required *)
Remove the star (i.e. delete it) but ensure you keep the two apostrophe's otherwise you will get errors or a page no load.
It was around line 242 in the english.php file.
Hope this helps
John
I am having the exact opposite problem, the telephone info field is no longer on my login/create account page. I have looked through all of the files and can't seem to find what is wrong.
any idea?
If someone wants to skip few registration fields like Address, City, State, Zip code and Country at the time of registration, then there will be a problem at the time of checkout process. So you need to take care of that part by customizing the code at the time of checkout process. I have followed the below steps.
add the following code in "includes/templates/[YOUR TEMP]/templates/tpl_checkout_shipping_default.php" and in
"includes/templates/[YOUR TEMP]/templates/tpl_checkout_payment_default.php"
in tpl_checkout_payment_default.php file, replace $_SESSION['sendto'] with $_SESSION['billto']
<!-- Custome code to validate the address -->
<?php
$host = DB_SERVER;
$dbun = DB_SERVER_USERNAME;
$dbpwd = DB_SERVER_PASSWORD;
$dbsel = DB_DATABASE;
$os_conn = mysql_connect($host,$dbun,$dbpwd);
mysql_select_db($dbsel);
$os_qry = mysql_query("SELECT * FROM zen_address_book WHERE address_book_id = '". $_SESSION['sendto']."'");
while($os_row = mysql_fetch_array($os_qry)){
$os_street_address = $os_row['entry_street_address'];
$os_city = $os_row['entry_city'];
$os_state = $os_row['entry_state'];
$os_country_id = $os_row['entry_country_id'];
}
mysql_close($os_conn);
//if( ($os_street_address !='') && ($os_city !='') && ($os_state !='') && ($os_country_id !='')){}else{
if($os_street_address !=''){}else{
$os_error = 'Please change the Shipping address';
?>
<!--<script type="text/javascript">
alert("Please change the Shipping address");
</script>;-->
<?php
echo '<span style="color: #CC0200; font-size: 15px; font-weight: bold; margin: 0 0 0 210px; text-align: center;">'.$os_error.'</span>';
}
?>
<!-- Custome code to validate the address Ends -->
Bookmarks