Jump to content

1.6.1.24 - add a condition to the dropdown in address selection


Recommended Posts

Hello,

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

 

Link to comment
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...