> The thing is that i don`t want the customers to be able to ship
> anything to anywhere else thant their own address. This is 
> because all our orders 
> will be sendt with an invoice, not using creditcard but paying 
> after they have got their products.
> So you see if we would let the users send something to their 
> friends, they could just deny that they 
> have ordered anything, and refuse to pay the invoice.
> 
> As long as we will only be using this method, i just dont see any 
> reason to create a new address record 
> for each invoice. I actually also will be using the address table 
> as an address book :)
> 
> I tried to edit the code in SET_SHIPPING_ALL, but just cant get 
> this right.
> 
> Help with this would be greatly appreciated.

It's easy to make the change.  Just find the places in the action
modules where it's creating a new address record and instead, use the
ID from the $UserInfo array.

So, are you allowing people to update their personal address, as is
the default?  You realize that if you just point the invoice to
the user, then it's possible to fill out an entire invoice and then
change the address a month later, forever erasing the original
information.  My advice would be simply to remove the forms in the
checkout process.  Automatically copy the info from the user into
the shipping and billing records.  That way you will get the same
user experience, but you won't have to edit all those other modules.
Plus, you'll have an audit trail.

Leon








------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to