AbanteCart Community
eCommerce construction => Installation and Configuration => Topic started by: llegrand on May 24, 2015, 12:41:58 PM
-
Hello, I know you removed the requirement for the telephone number by request. But unfortunately not all users have the same idea about what is right for their business. in this post from 2012 you indicated how to get rid of it and the you might be adding it to be an optional selection for the future.
http://forum.abantecart.com/index.php/topic,417.msg1260.html#msg1260 (http://forum.abantecart.com/index.php/topic,417.msg1260.html#msg1260)
Two questions then;
1. is it option yet? admin selectable?
2. if not, what's the current requirements (lots of changes to the templates since 2012) to add back the mandatory?
thanks
Lee
-
Hi Admins,
I could use some help with this. Codes have changed considerably since 2012!
I gave it a try, but failed.
Thanks in advance for the help.
Lee
-
Hello.
It is not an option in admin.
I suggest to compare files to find how to resolve your problem.
We did not remember all the things but you can start research from this commit https://github.com/abantecart/abantecart-src/issues/117 As you can see developer change public_html/storefront/model/account/customer.php file
-
I am also looking to make the telephone required. I think many of use need the telephone number required in case there are questions regarding an order. I found some customers are slow to respond to emails and with all the spam filters out there it's not easy to reach their inbox. A phone number for the customer is very helpful. Did anybody come up with a solution?
-
yes, I did succeed in making the telephone number manadatory. What version of the cart are you using?
I altered v 1.2.1 so I can give you the details for that version.
-
I would implement it on the latest version. Does it get overwritten when upgrading? Or is that modification separate from the core code? An yes, I would be very interested in leaning how to do it.
-
The latest version is 1.2.2. I just looked at the code for the affected files and it has not changed from 1.2.1 to 1.2.2 so it will work on either one.
Yes it is a mode to files. Yes it is possible that it will be overwritten in later versions - depends on what they change, so you would need to check out each time on a version update. Perhaps in an upcoming version they will make that filed Admin optional.
You will need to replace 3 files.
You can use cpanel or FTP.
Are you comfortable with doing that?
-
Yes, no problem. I can implement code changes, file merge etc. Can you give me access to the files or instructions? Thanks.
-
here are the files that I have successfully changed out.
Read the Telephone Field text file FIRST. It has the file locations. You can replace the files or replace the code lines - either way works.
Please make a copy of your existing files in this list BEFORE changing anything.
Lee
-
Vote for phone number is mandatory ;)
-
here are the files that I have successfully changed out.
Read the Telephone Field text file FIRST. It has the file locations. You can replace the files or replace the code lines - either way works.
Please make a copy of your existing files in this list BEFORE changing anything.
Lee
Hi!
I followed all these instruction but it still doesn't work and it is just showing that telephone required only.
-
I have the same doubt, is it necessary or they already removed it