tubaman111 Posted August 24, 2017 Share Posted August 24, 2017 I’m using version 1.6.1.10. During checkout, after the customer signs in with an address, in the Shopping-Cart Summary section (part 1 of 5) there is a box that appears below the cart with following heading: Invoice Address (and in parentheses, whatever name customer creates for this address) How can I change “Invoice Address” to read “Billing Address” instead? (I thought I changed all occurrences of Invoice Address to Billing Address in about 10 different tpl files, but I must have missed something.) Any advice will be appreciated. Thanks! Link to comment Share on other sites More sharing options...
Scully Posted August 25, 2017 Share Posted August 25, 2017 According to my opinion it's the wrong approach to rename fields in a way they do no longer indicate what the meaning is. But you asked where to change.... order-address.tpl would be the file to touch. Link to comment Share on other sites More sharing options...
tubaman111 Posted August 25, 2017 Author Share Posted August 25, 2017 Thanks for your response, Scully! Will you be kind enough to indicate exactly what needs to change in the order-address.tpl file? I would expect a line like {l s='Invoice address'} but I don't see any such line. Link to comment Share on other sites More sharing options...
Scully Posted August 25, 2017 Share Posted August 25, 2017 Search for billing or invoice. I have this code - as example: <label for="id_address_delivery">{if $cart->isVirtualCart()}{l s='Choose a billing address:'}{else}{l s='Choose a delivery address:'}{/if}</label> or this here <label for="id_address_invoice" class="strong">{l s='Choose a billing address:'}</label> Link to comment Share on other sites More sharing options...
tubaman111 Posted August 26, 2017 Author Share Posted August 26, 2017 Yeah, I saw the lines you're referring to in that file, but they say "Choose a billing address." I'm interested in changing the header with JUST the phrase "Invoice address" (without the phrase "Choose a") I want to change it to "Billing address". There are many places that the phrase "Invoice address" occurs in the numerous Prestashop files. Please see my original post for the specific location and occurrence to which I'm referring. So far, I was able to change "Invoice address" to "Billing address" in the following files, but none of those changes gave me the result that I wanted: authentication.tpl order-address-advanced.tpl order-detail.tpl order-opc-advanced.tpl order-opc-new-account-advanced.tpl order-opc-new-account.tpl order-opc.tpl What am I missing? Anybody have any other ideas? Link to comment Share on other sites More sharing options...
Scully Posted August 26, 2017 Share Posted August 26, 2017 Post a screenshot! Link to comment Share on other sites More sharing options...
tubaman111 Posted August 26, 2017 Author Share Posted August 26, 2017 (edited) Good idea, Scully. Below is a picture of the "invoice Address" header that I want to change to "Billing address" Please let me know if you can't open it or see it. Thanks! Edited August 26, 2017 by tubaman111 (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 27, 2017 Share Posted August 27, 2017 order-address-multishipping.tpl:{capture}<h3 class="page-subheading">{l s='Your billing address' js=1}</h3>{/capture} order-address-multishipping.tpl:{capture}<h3 class="page-subheading">{l s='Your delivery address' js=1}</h3>{/capture} order-address.tpl:{capture}<h3 class="page-subheading">{l s='Your billing address' js=1}</h3>{/capture} order-address.tpl:{capture}<h3 class="page-subheading">{l s='Your delivery address' js=1}</h3>{/capture} order-opc-advanced.tpl: {capture}<h3 class="page-subheading">{l s='Your billing address' js=1}</h3>{/capture} order-opc-advanced.tpl: {capture}<h3 class="page-subheading">{l s='Your delivery address' js=1}</h3>{/capture} order-opc.tpl:{capture}<h3 class="page-subheading">{l s='Your billing address' js=1}</h3>{/capture} order-opc.tpl:{capture}<h3 class="page-subheading">{l s='Your delivery address' js=1}</h3>{/capture} Link to comment Share on other sites More sharing options...
tubaman111 Posted August 29, 2017 Author Share Posted August 29, 2017 (edited) Well I finally figured out the file I needed to change to solve my problem. It's funny that I discovered the phrase "Invoice address" in just about every file except the one that mattered! The problem was in the shopping-cart.tpl file. In the following code (and in one other line of code) I changed the word "Invoice" to "Billing." <li><h3 class="page-subheading">{l s='Invoice address'} <span class="address_alias">({$invoice->alias})</span></h3></li> So problem solved! Thank you, Scully for your time, energy, and many stabs at a solution. That was very kind of you. - Blair Edited August 29, 2017 by tubaman111 (see edit history) 1 Link to comment Share on other sites More sharing options...
Scully Posted August 29, 2017 Share Posted August 29, 2017 Thanks for the feedback which is always very appreciated. 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