Jump to content - add a condition to the dropdown in address selection

Recommended Posts


We are trying to force our customers (we are a B2B) to determine, when creating an address, which type of address it is (billing - warehouse delivery - dropshipping)

We created a new column in the DB ps_address calling it address_kind. We configured everything so that our customers get a radio form to complete when creating their address.

Now we are looking to reduce the choice in the list of address in the cart. For example, when selecting the billing address,  only the address with the "billing" specification will be displayed in the drop down selector. For the shipping address, only the warehouse and dropshipping address will be displayed.

I am quite new to modifying this much the code and I have been stock on this last step for 2 days. 

Does this configuration should be made in AdressesController.php ?

Thank you for your help


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