Jump to content
ToyLover

Hide/Disable "billing address"

Recommended Posts

Hi everyone,

 

I only need ONE main address ("shipping address") to be used in the shop, I don't need the billing address, so I want to hide/disable it from every instance in my shop; from the registration form, the shopiing cart (there's a "billing adress" box and it asks if you want to use the same shipping address for billing), etc.

 

I've been looking for a way to hide or disable the "billing address" from my shop, but the threads I've found regarding this are either too old, or haven't worked for me at all.

Best Regards,

Share this post


Link to post
Share on other sites

There are several places where you need to change your code. But as always: if we don't know your PrestaShop version, we can't tell much about the solution.

Share this post


Link to post
Share on other sites

There are several places where you need to change your code. But as always: if we don't know your PrestaShop version, we can't tell much about the solution.

Sorry, my bad... I'm using 1.6.1.10

 

 

Share this post


Link to post
Share on other sites

Files to look for in themes directory:

order-detail.tpl

order-address.tpl

eventually order-opc.tpl

eventually order-address-multishipping.tpl

 

Files to look for in pdf directory:

delivery-slip.addresses-tab.tpl

invoice.addresses-tab.tpl

eventually invoice.tpl

eventually delivery-slip.tpl

 

Files to look for in mail directory (at least)

order_conf.html

order_conf.txt

 

In all these files you'll find different sections with delivery address and invoice address. At some places you can make them hidden, at some you have to delete the section you don't need. It might take some hours to change all code. And hopefully I didn't oversee a file.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More