Jump to content

[SOLVED] Problem with instant checkout


Recommended Posts

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

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

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

 

16k2liv.jpg

 

Click on the edit icon, scroll down and you should see the options below:

 

348ktae.jpg

If you add 'phone' there and save your options the input field should appear in your checkout

 

2vxnlgg.jpg

 

Hope that helps!

 

Mark

Link to comment
Share on other sites

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

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) :D

Link to comment
Share on other sites

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

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

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

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

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?

post-186604-0-26347600-1330568808_thumb.png

Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

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

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

×
×
  • Create New...