Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    93
    Plugin Contributions
    0

    Default Delivery Address for Store PickUp in order pick up email.

    Hello

    I have a situation where I have to store the delivery address and send it through order confirmation email for the STORE PICKUP option. Customers have different stores and the company wants to keep track of which store location did the pickup. Right now delivery address is N/A for the store pick-up setting.

    Can anyone please check this?

    Thanks

  2. #2
    Join Date
    May 2009
    Posts
    93
    Plugin Contributions
    0

    Default Re: Delivery Address for Store PickUp in order pick up email.

    Issue is solved

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,903
    Plugin Contributions
    8

    Default Re: Delivery Address for Store PickUp in order pick up email.

    Quote Originally Posted by nishajh View Post
    Issue is solved
    This is where you help others like yourself in the future by supplying how you were able to accomplish your task.

  4. #4
    Join Date
    May 2009
    Posts
    93
    Plugin Contributions
    0

    Default Re: Delivery Address for Store PickUp in order pick up email.

    Issue : Wanted to show the delivery address in the order confirmation email for Storepickup shipping method. Our customers have different store locations and they wanted the dealer to know which location is coming to pickup.

    Solution:

    In the includes/classes/order.php look for

    $storepickup = (strpos($this->info['shipping_module_code'], "storepickup") !== false);
    if ($this->content_type != 'virtual' && !$storepickup) {
    $html_msg['ADDRESS_DELIVERY_DETAIL'] = zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, '', "<br />");
    } else {
    $html_msg['ADDRESS_DELIVERY_DETAIL'] = 'n/a';
    }

    CHANGE TO

    $storepickup = (strpos($this->info['shipping_module_code'], "storepickup") !== false);
    if ($this->content_type != 'virtual' && !$storepickup) {
    $html_msg['ADDRESS_DELIVERY_DETAIL'] = zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, '', "<br />");
    } else {
    $html_msg['ADDRESS_DELIVERY_DETAIL'] = zen_address_label($_SESSION['customer_id'], $_SESSION['sendto'], true, '', "<br />");
    }


    Thanks

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    7,903
    Plugin Contributions
    8

    Default Re: Delivery Address for Store PickUp in order pick up email.

    Thank you for helping others.

 

 

Similar Threads

  1. v155 Store Pickup and my other address-based delivery needs
    By EZorb in forum Built-in Shipping and Payment Modules
    Replies: 42
    Last Post: 19 Feb 2018, 06:53 AM
  2. [INPROGRESS CHANGE-196] Store pickup Tax all who pick up
    By shortysclimbin in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 15 Nov 2011, 10:14 PM
  3. How to set up local delivery address, or add "Time" to Store Pick Up?
    By Tech Diva in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Oct 2010, 06:21 PM
  4. Step 3 of checkout with In-store pickup shows delivery address??
    By jasonhoward64 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 May 2010, 10:24 AM

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