Results 1 to 3 of 3

Thread: Separate shipping from billing addresses

  1. #1
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Separate shipping from billing addresses

    I need to separate the billing addresses from the shipping addresses at checkout. People should be able to add addresses at checkout (or in their address books), but the addresses should not be mixed up. Right now I can select billing addresses in the shipping addresses list an vice versa.

    Normally this wouldn't be a big problem, but my client requests the addresses are splitted, and the addresses for shipping are limited by another extension I made.

    The code does not allow me to modify this right now unless I wrote my own checkout module and address book module. But that doesn't seem like a good solution...

    Is there any way I missed to achieve this?

    What I did for the time being is adding the city name to the options array inside the checkout module, and inside the addCustomAddress hook I check the city name and remove all addresses that are invalid...

  2. #2
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default Re: Separate shipping from billing addresses

    I think that the addCustomAddress Hook is your best bet at this point. We added it in there precisely for those reasons... Not sure there is any other way around it.

  3. #3
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Separate shipping from billing addresses

    I used the hook to achieve what I mentioned at the end of my post. To get what I want I would need to make the addresses store what type they are, but also do this with the address book module. Should this not become a standard feature? I'm not sure why I would define two different addresses as a customer at checkout and want to mix that up later on.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •