Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2010
    Posts
    49
    Plugin Contributions
    0

    Default How to add 'thank you' to packing slip?

    I'd like to add a 'Thank you for shopping with .....' at the bottom of the packing slip.

    Can anybody tell me how to do this. I think it would be something in the admin/packingslip.php but I'm not sure.

    I'm sure this is quite easy, but I'm a bit of a noob.

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    2,536
    Plugin Contributions
    7

    Default Re: How to add 'thank you' to packing slip

    Quote Originally Posted by Nintendoparts View Post
    ...I think it would be something in the admin/packingslip.php but I'm not sure....
    At around lines 171-175 of this file you find:

    <tr>
    <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_DATE_ADDED; ?></strong></td>
    <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_STATUS; ?></strong></td>
    <td class="smallText" align="center"><strong><?php echo TABLE_HEADING_COMMENTS; ?></strong></td>
    </tr>
    Insert a fourth <td ...>[your code]</td> just before the </tr>
    Zen Cart with a Passion (Fair Dinkum Australian): iSO Network | frNT Online Dispensary
    Contribs: CSAR | German Language Pack | Local Delivery Only

  3. #3
    Join Date
    Jul 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: How to add 'thank you' to packing slip

    Thanks for the speedy reply. I want to stick to the using the zencart system properly so I've added the line:

    define('PACKINGSLIP_THANKYOU', 'Thank you for shopping with NintendoParts.com.au');

    to my INCLUDES/LANGUAGES/CUSTOM/english.php

    I'm just not sure what code to use to in this line:

    <td class="smallText" align="center"><strong>what code do I put here?</strong></td>

    Also should I want to make sure I'm using the overide system correctly, should I be uploading the new packingslip.php to:

    ADMIN/CUSTOM/packingslip.php

  4. #4
    Join Date
    Jan 2004
    Posts
    60,700
    Blog Entries
    4
    Plugin Contributions
    149

    Default Re: How to add 'thank you' to packing slip

    "what code do I put here?" = <?php echo PACKINGSLIP_THANKYOU; ?>

    And, no, there are no overrides for the admin. Just edit the original files directly.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.



  5. #5
    Join Date
    Jul 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: How to add 'thank you' to packing slip

    Thanks for the replies. Figured out how to do it:

    1) place

    define('PACKINGSLIP_THANKYOU', 'Thank you for shopping with mywebsite.com');

    into admin/includes/languages/modules/shipping/packingslip.php

    anywhere will do, I put mine at the bottom

    1)place

    <tr>
    <td class="smallText" align="center"><strong><?php echo PACKINGSLIP_THANKYOU; ?></strong></td>
    </tr>


    into admin/packingslip.php

    just above

    <!-- body_text_eof //-->

    but after

    </table>


    This will give you:

    Thank your for shopping with mywebsite.com


    just after all the info.

  6. #6
    Join Date
    Jan 2004
    Posts
    60,700
    Blog Entries
    4
    Plugin Contributions
    149

    Default Re: How to add 'thank you' to packing slip

    <tr>
    <td>
    </tr>

    should ALWAYS come before </table>

    Otherwise your HTML is technically invalid.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.



  7. #7
    Join Date
    Nov 2010
    Location
    Ohio
    Posts
    13
    Plugin Contributions
    0

    help question Re: How to add 'thank you' to packing slip?

    This question is kind of along the same lines.

    I use model numbers for my products and would like the invoice and packing slip to sort my products 1st by the model number and then by the product name.

    How would I go about doing that? Do I modify the stylesheet or the file?

    Thanks!

 

 

Similar Threads

  1. Packing Slip (help please)?
    By coffee23 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 May 2010, 07:20 PM
  2. packing slip
    By bean_2k1 in forum Managing Customers and Orders
    Replies: 5
    Last Post: 20 Mar 2008, 09:27 AM
  3. Packing Slip
    By ibparn in forum Customization from the Admin
    Replies: 3
    Last Post: 30 Jan 2008, 06:16 AM
  4. Packing Slip to Dropship Slip
    By PaintBall in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 28 Oct 2007, 12:10 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