Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Have pickup show store address not customers address

    Hello I am using the pickup module as well as a shipping module. The problem is that when a client selects pickup I still recieva a ship to address on my order. Is there a way to have my store address, or the word PICKUP show in place of the shipping address? ThankYou in advance. Jim

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Have pickup show store address not customers address

    To show the "Store Pickup" notice on the order page under the shipping address in larger bold text, do this:

    /admin/orders.php
    line 321 contains:
    HTML Code:
                    <td class="main"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td>
    replace it with:
    HTML Code:
                    <td class="main"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?><?php echo ($order->info['shipping_module_code'] == 'flat') ? '<br /><h2>Store Pickup</h2>' : ''; ?></td>
    You could alter or relocate as you like.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Have pickup show store address not customers address

    *cough* might make that 'flat' read 'storepickup' ... *cough* ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Have pickup show store address not customers address

    Well now I am confused, what do you mean by flat?

  5. #5
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Have pickup show store address not customers address

    Dr. Byte I did as you mentioned with no success. Do you know what "Flat" as in the next reply by Ajeh means? Am I in the wrong file? Thank You for all your help

  6. #6
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Have pickup show store address not customers address

    Thank you all for your help, I got it to work, not sure how but it works. Thank You

  7. #7
    Join Date
    Jul 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Have pickup show store address not customers address

    Would it be possable to have store pickup show on the invoice and packing slip? Thanks Jim

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Have pickup show store address not customers address

    The flat was referred to in:
    $order->info['shipping_module_code'] == 'flat'

    You mentioned you wanted this for 'storepickup'
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Have pickup show store address not customers address

    Ajeh is so much smarter than I.... yes ... I had put 'flat' in there for testing when I meant 'storepickup'


    To do it on the invoice and packing slip, you would do the same thing underneath the desired address display in the 2 files driving it:
    /admin/invoice.php
    /admin/packingslip.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Have pickup show store address not customers address

    /me makes such a good syntax checker ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to change invoice? so that Shipping Address has "in-store pickup" under it?
    By jasonhoward64 in forum Managing Customers and Orders
    Replies: 2
    Last Post: 12 May 2010, 05:26 PM
  2. 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
  3. Product Details And Customers Address does not show in paypal
    By tickle in forum Managing Customers and Orders
    Replies: 0
    Last Post: 29 Sep 2008, 08:07 AM
  4. Store address show on page
    By SHokuf in forum General Questions
    Replies: 2
    Last Post: 25 Feb 2008, 07:29 PM
  5. Replies: 5
    Last Post: 30 Sep 2007, 06:40 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