HowHard Posted June 21, 2012 Share Posted June 21, 2012 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 More sharing options...
Mario168 Posted June 21, 2012 Share Posted June 21, 2012 besides the home number, there is also a mobile phone number. you can use this mobile number as billing number? - just change the label. Link to comment Share on other sites More sharing options...
HowHard Posted June 21, 2012 Author Share Posted June 21, 2012 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 More sharing options...
shokinro Posted June 21, 2012 Share Posted June 21, 2012 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 1 Link to comment Share on other sites More sharing options...
HowHard Posted June 25, 2012 Author Share Posted June 25, 2012 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 More sharing options...
HowHard Posted June 25, 2012 Author Share Posted June 25, 2012 ok the Identification number has disappeared, maybe it only showed when I tested using firebug. Although I'm that tired I may have just deleted it and forgotten lmao Link to comment Share on other sites More sharing options...
HowHard Posted June 25, 2012 Author Share Posted June 25, 2012 (edited) 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 June 25, 2012 by Mike Kranzler Please do not use profanity (see edit history) Link to comment Share on other sites More sharing options...
HowHard Posted June 26, 2012 Author Share Posted June 26, 2012 please anybody? Link to comment Share on other sites More sharing options...
shokinro Posted June 26, 2012 Share Posted June 26, 2012 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 More sharing options...
HowHard Posted June 26, 2012 Author Share Posted June 26, 2012 thanks for the reply m8, is there possibly a way I can rename the shipping and invoice address for the prestashop pdf invoice and then I can rename them on checkout? otherwise what would you recommend? Link to comment Share on other sites More sharing options...
HowHard Posted June 26, 2012 Author Share Posted June 26, 2012 Please begging anyone ideas? Link to comment Share on other sites More sharing options...
HowHard Posted June 27, 2012 Author Share Posted June 27, 2012 Cmon I'm begging, if sum1 can help me with this and my other problem: http://www.prestashop.com/forums/topic/175682-cout-as-guest-using-regd-email/ I can pay sum1 a little to help me if really need be. Link to comment Share on other sites More sharing options...
Recommended Posts