Results 1 to 7 of 7

Hybrid View

  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
    3,379
    Plugin Contributions
    9

    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>

  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
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    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.

  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
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    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.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 18 Sep 2013, 04:09 AM
  2. v151 How to add pricing and shipping totals to Admin - invoice or packing slip?
    By janiceguazzo in forum Managing Customers and Orders
    Replies: 1
    Last Post: 23 Apr 2013, 12:20 AM
  3. How to add image in packing slip?
    By teflonchest in forum Managing Customers and Orders
    Replies: 1
    Last Post: 3 May 2010, 04:09 PM
  4. How to add “Thank you for shopping with us!”
    By tanyaleann in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2008, 12:09 PM
  5. How do you add text to last Thank You page after purchase complete?
    By catangirl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Sep 2007, 10:25 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