november Posted February 26, 2012 Share Posted February 26, 2012 How can I add a box for a customer to add a phone number in instant check out? I've just had a customer phone as they were trying to use instant check out in our Prestashop (version 1.4) but encountered the following problem: There is no space to enter a phone number The shop wouldn't complete the order without them entering a phone number. Can anyone help? They are completely right as in there is no space to enter a phone number in the instant check out form. I don't know how to stop the shop insisting on one and we would need one for some orders when we use a courier. Many thanks Link to comment Share on other sites More sharing options...
november Posted February 28, 2012 Author Share Posted February 28, 2012 Just giving this a bit of a bump in case anyone can help. I really don't want to have to permanently stop allowing instant check out for customers unless I have to but at the moment its not working at all due to the phone number problem. Link to comment Share on other sites More sharing options...
Mark Hesketh Posted February 28, 2012 Share Posted February 28, 2012 Hi November, Sorry by instant checkout are you referring to the guest checkout or one page checkout? What is the your website's address? This shouldn't be too hard a fix, just adding the telephone input field into the guest/one page checkout tpl file. Mark Link to comment Share on other sites More sharing options...
november Posted February 28, 2012 Author Share Posted February 28, 2012 Hi Mark Many thanks for your offer of help. Sorry by instant checkout are you referring to the guest checkout or one page checkout? Not sure to be honest. There are 2 checkout options - one which requires registration and one which doesn't. I've had a look in my admin panel to see if it specifies but can't find it where it would be. What is the your website's address? http://www.shamaniclifestyle.com/ This shouldn't be too hard a fix, just adding the telephone input field into the guest/one page checkout tpl file. Great. Could you please tell me how to do this? Many thanks again June Link to comment Share on other sites More sharing options...
Mark Hesketh Posted February 28, 2012 Share Posted February 28, 2012 Just had a try to replicate your checkout on my default Prestashop install and looks like you use the 5-step with Guest Checkout just to confirm In your Back Office > Shipping > Countries menu, find United Kingdom or whichever country/countries you need the phone number for Click on the edit icon, scroll down and you should see the options below: If you add 'phone' there and save your options the input field should appear in your checkout Hope that helps! Mark Link to comment Share on other sites More sharing options...
november Posted February 28, 2012 Author Share Posted February 28, 2012 Just had a try to replicate your checkout on my default Prestashop install and looks like you use the 5-step with Guest Checkout just to confirm You were most definately right! All now up and running properly with the phone number attached to the form. Many thanks for your help Mark. Much appeciated. Link to comment Share on other sites More sharing options...
Mark Hesketh Posted February 28, 2012 Share Posted February 28, 2012 Great stuff! Not a problem, if you could put [solved] in the thread title, Mike and the Prestashop guys would no doubt appreciate that ;P Link to comment Share on other sites More sharing options...
november Posted February 28, 2012 Author Share Posted February 28, 2012 Was just trying to work out how to do that lol. I was thinking you edit the thread title but there is no option for that - I can only edit my first post. Any clues much appreciated! Link to comment Share on other sites More sharing options...
Mark Hesketh Posted February 28, 2012 Share Posted February 28, 2012 I actually don't know to be quite honest. Since the new design all of my posts have been replies rather than threads If not I'm sure a mod will swoop by soon and do it on your behalf. Link to comment Share on other sites More sharing options...
november Posted February 28, 2012 Author Share Posted February 28, 2012 Thanks again Mark. Love your blog by the way and your web design. One day when I have a few bob spare I have you bookmarked! I'll add a large comment at the bottom hopefully someone will spot and mark this solved. THIS THREAD IS NOW SOLVED (apart from how to mark it as solved) Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 28, 2012 Share Posted February 28, 2012 Thanks Mark and november! For future reference, to mark your own thread as Solved you must use the Full Editor on your original post and then change the title to start with [sOLVED]. We're working on a better solution which should be completed relatively soon, but in the meantime that is how you would mark it as solved. But just to simplify things this time, I'll go ahead and take care of it for you. -Mike Link to comment Share on other sites More sharing options...
november Posted February 28, 2012 Author Share Posted February 28, 2012 Many thanks Mike Link to comment Share on other sites More sharing options...
berta recchia Posted February 28, 2012 Share Posted February 28, 2012 Sorry guys, I'm running 1.4.6.2 and in my one page checkout the Invoice Address doesn't show the "State" field. The Delivery address does. So the customer is stuck, can't enter a state and can't save the page and register. In the Shipping > Countries I already have: firstname lastname company address1 address2 city, State:name postcode Country:name phone Yet the State is not presented. Any suggestions? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 29, 2012 Share Posted February 29, 2012 Hi berta, Have you already enabled Force Compile and cleared your cache? That should be working fine for you, assuming you set this for the correct country. -Mike Link to comment Share on other sites More sharing options...
berta recchia Posted February 29, 2012 Share Posted February 29, 2012 Yes I have, but I didn't change anything. I'm not sure what to change to make the state appear. Is this where I need to change? : In the Shipping > Countries? I already have: firstname lastname company address1 address2 city, State:name postcode Country:name phone Does this page modify both the Delivery and the Invoice address? Is it for the 5 steps or 1 page checkout? Looking forward to a solution or to understand what / where to change. Or is this done in the code? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted February 29, 2012 Share Posted February 29, 2012 Can you please post your URL so that we can try to look into this for you? And is the error when trying to create an account, or only when going through the checkout process? -Mike Link to comment Share on other sites More sharing options...
berta recchia Posted February 29, 2012 Share Posted February 29, 2012 Well,... if I enable 1page checkout for you to see, I won't have any new customers buying...since they can't register and checkout. If a new customer registers and has a diffrent invoice address the page will be the one you see in the attachment. No State field, and since there is no state the system won't let them save and continue. If you have to look at the page we need to coordinate / call me so that I can temporarily change to 1page checkout and lose as many sales as possible. You will see the same page I have attached. So my question is: Where do you control those fields from? PM if you need my phone#. thank you. Link to comment Share on other sites More sharing options...
Mark Hesketh Posted February 29, 2012 Share Posted February 29, 2012 Do you have states set up for that particular country? Is it requiring states but there's none to choose from? The states uses a drop down, selecting states preconfigured in your back office, have these been set up? Sorry if I'm completely wrong here its quite late Link to comment Share on other sites More sharing options...
berta recchia Posted March 1, 2012 Share Posted March 1, 2012 Please take a look at the attached image. There is not pull down or field for State. The states pull-down works fine for the DELIVERY address but not for INVOICE address. If it's controlled from Shipping > Countries, in USA it's already populate with the following: firstname lastname company address1 address2 city, State:name postcode Country:name phone Does it look right? Link to comment Share on other sites More sharing options...
Mark Hesketh Posted March 1, 2012 Share Posted March 1, 2012 Has your order-opc-new-account.tpl file been modified in your theme at all? In the default order-opc-new-account.tpl file, line 265 for the delivery address state {elseif $field_name eq "state" || $field_name eq 'State:name'} {$stateExist = true} <p class="required id_state select" style="display:none;"> <label for="id_state">{l s='State'}</label> <select name="id_state" id="id_state"> <option value="">-</option> </select> <sup>*</sup> </p> {/if} and line 378 for the invoice address state {elseif $field_name eq "state" || $field_name eq 'State:name'} {$stateExist = true} <p class="required id_state_invoice select" style="display:none;"> <label for="id_state_invoice">{l s='State'}</label> <select name="id_state_invoice" id="id_state_invoice"> <option value="">-</option> </select> <sup>*</sup> </p> {/if} Is the invoice state code missing in your theme's file? 1 Link to comment Share on other sites More sharing options...
berta recchia Posted March 1, 2012 Share Posted March 1, 2012 Yup. you were right. That file has some problems in my theme. We replaced with a fresh one and it work. The strange thing is that today there were no purchases received since I fixed it. I ran a test purchase and all works well, yet no sales today, which is unusual. Thanks. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted March 1, 2012 Share Posted March 1, 2012 Yup. you were right. That file has some problems in my theme. We replaced with a fresh one and it work. The strange thing is that today there were no purchases received since I fixed it. I ran a test purchase and all works well, yet no sales today, which is unusual. Thanks. It's probably a long shot, but is your site still in maintenance mode by chance? -Mike Link to comment Share on other sites More sharing options...
Recommended Posts