Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    4
    Plugin Contributions
    0

    Default saving new shipping/billing address as default..

    hi there,

    i'm not sure where this question should go exactly, but:

    1. i've turn off most fields from being required upon registration, or set some fields up as hidden values during registration (ie. telephone # = 0000000000)

    2. the problem is that when the user goes to check out, this fake info is still in the default address that's printed:

    User Lastname
    123 Whatever St.
    , NY
    00000000000

    3. i've figure out some strange session['sendto'] and session['billto'] hacks that redirect the user to the shipping/billing address edit screen if a. theres' only 1 address for the user (ie they havent added a shipping/billing one yet) and b. the default address city = '' (this is a loose description of my hack)

    4. this works to get around displaying the fake address upon the first checkout for the user, but not after that.

    ideally, i'd like to save the first total real address (shipping i suppose) as the user's new default address when he/she enters it (not just to session['sendto'].. can i do this?

    even more ideally, i'd either write over the old address slot, or delete it..

    has anyone done anything like this?


    you'll have my eternal devotion if you can steer me along!

    thank you,
    oc


  2. #2
    Join Date
    Nov 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: saving new shipping/billing address as default..



    nevermind, I'm almost there. for anyone else inclined to do such a thing, the place to do your delete and new address as default switching is in

    modules/checkout_new_address.php


 

 

Similar Threads

  1. Replies: 9
    Last Post: 7 May 2016, 06:39 PM
  2. Paypal express- Changes billing address to shipping address
    By shortysclimbin in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 23 Oct 2012, 11:29 AM
  3. Replies: 6
    Last Post: 8 Mar 2012, 06:36 PM
  4. My store is sending to PayPal the shipping address instead of billing address!
    By mondotex in forum PayPal Express Checkout support
    Replies: 17
    Last Post: 6 Jan 2012, 08:31 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR