Jump to content

Recipient/Billing Telephone Number


Recommended Posts

Hi,

 

I'm using One-Page-Checkout and Paypal, at the moment it only asks for shipping address with Home phone number.

 

I'd like to add a new field for Billing Phone Number.

 

It's a florists/flower delivery website and basically we'd like to have person receiving phone number and person ordering phone number.

 

Also, how can I get it to ask for billing address aswell as shipping before going onto paypal with billing address already filled as shipping address?

 

Thanks,

 

Howard

Link to comment
Share on other sites

there isn't though?

 

There's only Home telephone number on my checkout as guest on opc.

I have been looking to add this but I don't know how. I have mobile number on the details for registered users but not guest.

 

Any idea how?

Link to comment
Share on other sites

It is there, it just hidden by the CSS style, you can make it appear.

open file

YourStoreRoot/themes/prestashop/order-opc-new-account.tpl

 

 

Look for following code, remove 'is_customer_param", it will make it appear.

Please note there are two occurrences of this coder

 

<p class="text is_customer_param">
<label for="phone_mobile">{l s='Mobile phone'}</label>
<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="" />
</p>

 

Make sure you have set smarty to "force compile" in order to make the changes reflected.

Preferences tab - Performances tab

  • Like 1
Link to comment
Share on other sites

Hey,

 

That's fantastic thanks!!

 

I need to get the customer to enter the billing address as currently it only gives option for shipping (data is then carried to paypal to enter billing which is filled with shipping address).

 

I see the fields are there and I can just do the same as with the mobile number.

 

In the billing address it asks for "Identification number" DNI / NIF / NIE, what is this? I have no idea. It's a UK shop, do I need this and if not how can I remove it?

 

Thanks again,

 

Howard

Link to comment
Share on other sites

so in YourStoreRoot/themes/prestashop/order-opc-new-account.tpl

at the end of the shipping form there was:

 

<p class="checkbox is_customer_param">

<input type="checkbox" name="invoice_address" id="invoice_address" />

<label for="invoice_address"><b>{l s='Please use another address for invoice'}</b></label>

</p>

 

I took out is_customer_param so that they can tick to enter different invoice address.

 

All is great, until I tested.

 

I enter all the details and when I then checkout on paypal the billing information is filled with the shipping information :(

 

Please how can I make it be filled with the invoice address details entered?

Edited by Mike Kranzler
Please do not use profanity (see edit history)
Link to comment
Share on other sites

I enter all the details and when I then checkout on paypal the billing information is filled with the shipping information :(

Please how can I make it be filled with the invoice address details entered?

 

I guess the shipping/billing address only works in PrestaShop PDF invoice.

 

Because, as I know the Paypal module only pass shipping address to Paypal.

Link to comment
Share on other sites

×
×
  • Create New...