chulien Posted August 27, 2016 Share Posted August 27, 2016 Hi, I want to remove the Invoice / Billing Address Field, Leaving the Delivery Address Field only. But I have read the I cant remove the invoice address field in prestashop. And read that I can just convert the "invoice address field" to "Delivery address field" But I have no IT experience. Can you help me what to do? Link to comment Share on other sites More sharing options...
chulien Posted August 27, 2016 Author Share Posted August 27, 2016 https://www.prestashop.com/forums/topic/547602-disable-billing-address-option/?hl=%2Bbilling+%2Baddress https://www.prestashop.com/forums/topic/543701-how-i-can-disable-billing-address-feature-at-all/?do=findComment&comment=2370263 i have tried and followed these two. I have successfully removed the invoice address in step 3 but I noticed that it still leave the summary still like this Link to comment Share on other sites More sharing options...
rocky Posted August 28, 2016 Share Posted August 28, 2016 Try changing line 493 of shopping-cart.tpl in your theme's directory from: {if $invoice->id} to: {*{if $invoice->id}*}{if false} This should remove the invoice address. Link to comment Share on other sites More sharing options...
chulien Posted August 28, 2016 Author Share Posted August 28, 2016 Hi, I did what you said but its still there. It happens when I am already logged in then add products to my cart then proceed to check out. But when I already add products then check out then I sign in, it is already removed. like the one below Link to comment Share on other sites More sharing options...
rocky Posted August 29, 2016 Share Posted August 29, 2016 Try changing the following code on line 507 of shopping-cart.tpl from: {foreach from=$formattedAddresses key=k item=address} to: {foreach from=$formattedAddresses key=k item=address} {if $k == 'invoice'}{continue}{/if} Link to comment Share on other sites More sharing options...
chulien Posted October 20, 2016 Author Share Posted October 20, 2016 Thanks! it worked fine now! It looks like this now Link to comment Share on other sites More sharing options...
chulien Posted October 20, 2016 Author Share Posted October 20, 2016 For other beginners too like me. Here's the compilation of what i've followedhttps://www.prestashop.com/forums/topic/543701-how-i-can-disable-billing-address-feature-at-all/?do=findComment&comment=2370263 PLEASE READ & FOLLOW THE ENTRY #8 Posted by The Prestashop Ambassador Rocky(I dont know if it helped but I just did it. It doest change anything to my site when I did this but I just followed this.)Then after that, https://www.prestashop.com/forums/topic/547602-disable-billing-address-option/?hl=%2Bbilling+%2Baddress PLEASE READ & FOLLOW THE ENTRY #6 Posted by The Prestashop Ambassador Rocky Then after that, In this post PLEASE READ & FOLLOW THE ENTRY #3 Posted by The Prestashop Ambassador Rocky Then it will work fine! But dont forget to backup your files first just incase you made a mistake. ^^ Link to comment Share on other sites More sharing options...
chulien Posted October 20, 2016 Author Share Posted October 20, 2016 By the way, I just checked the pdf it still has the invoice address. can you tell me how to remove this? Link to comment Share on other sites More sharing options...
rocky Posted October 20, 2016 Share Posted October 20, 2016 Copy pdf/invoice.addresses-tab.tpl to themes/<your_theme>/pdf/invoice.addresses-tab.tpl to override it and then remove the following code: <td width="33%"><span class="bold">{l s='Billing Address' pdf='true'}</span><br/><br/> {$invoice_address} </td> Link to comment Share on other sites More sharing options...
wilsonrrjunior Posted December 1, 2016 Share Posted December 1, 2016 Hello, I have followed all the steps above and they have all worked for me, however when I go to My Account and click on My Addresses nothing appears there, the page is totally empty. Can someone please help me? Link to comment Share on other sites More sharing options...
chulien Posted January 16, 2017 Author Share Posted January 16, 2017 Hello, I have followed all the steps above and they have all worked for me, however when I go to My Account and click on My Addresses nothing appears there, the page is totally empty. Can someone please help me? hi, wilson, i am experiencing the same problem, i have posted here. lets just hope that someone will respond. ^^ https://www.prestashop.com/forums/topic/589309-add-new-address-my-addresses-add-my-first-address-shows-http-error-500-blank-page/ Link to comment Share on other sites More sharing options...
chulien Posted January 16, 2017 Author Share Posted January 16, 2017 Copy pdf/invoice.addresses-tab.tpl to themes/<your_theme>/pdf/invoice.addresses-tab.tpl to override it and then remove the following code: <td width="33%"><span class="bold">{l s='Billing Address' pdf='true'}</span><br/><br/> {$invoice_address} </td> hi rocky, i did this, however, it also deleted the delivery address Link to comment Share on other sites More sharing options...
nlsweb Posted March 17, 2017 Share Posted March 17, 2017 I want to change few thing in the invoice that customer received and we received as a order confirmation {if !empty($delivery_address)}<table style="width: 100%"><tr><td style="width: 50%"><span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br />{$delivery_address}</td><td style="width: 50%"><span style="font-weight: bold; font-size: 10pt; color: #9E9F9E">{l s='Senders Address' pdf='true'}</span><br />{$invoice_address}</td></tr></table> So basically I dont know where $delivery_address and $invoice_address are coming from. I want to change the way display $invoice_address i.e. I just want to just show client name and phone number $delivery_address i just want to delivery person name and address and phone. Can someone help me that how and where I can change the code. Thank you 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