wimotek Posted April 25 Share Posted April 25 i found a strange thing. why do the prestashop allow a customer leave both phone and mobile blank. where can i set it at least fill one , phone or mobile if no phone or mobile left , how could you ship your order? Link to comment Share on other sites More sharing options...
Andrei H Posted April 25 Share Posted April 25 Hello, Even if these fields are optional by default, you can change this behavior. You can achieve this by going to: Admin -> Customers -> Addresses -> click the 'Set required fields for this section', check one of the phone fields and save. At this point, that field should be mandatory. Link to comment Share on other sites More sharing options...
wimotek Posted April 25 Author Share Posted April 25 10 minutes ago, Andrei H said: Hello, Even if these fields are optional by default, you can change this behavior. You can achieve this by going to: Admin -> Customers -> Addresses -> click the 'Set required fields for this section', check one of the phone fields and save. At this point, that field should be mandatory. good, it's real help for me. im confused why the ps doesn't set the field in default. it should be one out of two in mandatory by default. Link to comment Share on other sites More sharing options...
wimotek Posted April 26 Author Share Posted April 26 there is a bug . i set mobile phone in mandatory, but it didn't show when checkout. Link to comment Share on other sites More sharing options...
Andrei H Posted April 26 Share Posted April 26 Hello, By default, the field displayed at checkout is the 'Phone' one, not the 'Mobile Phone' one. If you want 'Mobile Phone' displayed in there, you need to go to Admin -> International -> Locations -> Countries, edit the Country/Countries that you allow in your shop and in the Address format field add the 'phone_mobile' field under 'ADDRESS'. Once saved, the Mobile Phone should also be displayed at checkout for these countries. Link to comment Share on other sites More sharing options...
wimotek Posted April 28 Author Share Posted April 28 thanks, you are good at the ps. it provide more customized fuctions. could i suggest the ps could be more intellent. let the customer decide which one fill in or both. the show it auotmatically, hide if one is null. Link to comment Share on other sites More sharing options...
Andrei H Posted April 28 Share Posted April 28 Hello, While that functionality is not present in the PrestaShop core, you should be able to achieve it with a custom module. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted Monday at 06:30 AM Share Posted Monday at 06:30 AM Le 28/04/2024 à 3:22 AM, wimotek a dit : thanks, you are good at the ps. it provide more customized fuctions. could i suggest the ps could be more intellent. let the customer decide which one fill in or both. the show it auotmatically, hide if one is null. In most cases only mobile phone is mandatory, because it's used by carriers for SMS notifications. 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