Results 1 to 6 of 6
  1. #1

    help question Changing Footer for Invoice

    Having searched for this there is nothing that I can find.

    I need to add a footer to the invoice so that each page shows (in effect) the company details and VAT code. - However there seems to be nothing that can be used to customise or add a footer to the invoice only!

    I don't want to add yet another module contribution as I've enough added already - which cause a pain on upgrade to newer ZenCart versions.

    I'm using 1.3.7 - so any held would be much appreciated. - To summarise - I need to add a footer to the invoice page. (Rather like using pre-formatted stationery).

    Thanks

    Craig

  2. #2
    Join Date
    Mar 2007
    Posts
    159
    Plugin Contributions
    0

    Default Re: Changing Footer for Invoice

    /email/email_template_checkout.html

    you can add straight html around

    <!-- Footer Section -->

    <div class="footer">

    <div class="copyright">$EMAIL_FOOTER_COPYRIGHT</div>

    </div>

    and it will appear around the bottom of the page

    editing the language file EMAIL_FOOTER_COPYRIGHT will put it on the bottom of every email that you send as far as I can tell

    there is no override, so make a backup first.....

  3. #3

    Default Re: Changing Footer for Invoice

    Thanks - made some changes that are now acceptable.

    Personally I think that things like this would be a useful addition to the product - the ability to easily change the design of reports, emails, outputs etc - without detailed knowledge of PHP. - Perhaps this can be done now!

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

    Default Re: Changing Footer for Invoice

    There are a lot of improvements in the works:
    http://www.zen-cart.com/forum/showthread.php?t=36912
    .

    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
    Feb 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Changing Footer for Invoice

    Quote Originally Posted by TMC_Sherpa View Post
    /email/email_template_checkout.html

    you can add straight html around

    <!-- Footer Section -->

    <div class="footer">

    <div class="copyright">$EMAIL_FOOTER_COPYRIGHT</div>

    </div>

    and it will appear around the bottom of the page

    editing the language file EMAIL_FOOTER_COPYRIGHT will put it on the bottom of every email that you send as far as I can tell

    there is no override, so make a backup first.....
    where is the EMAIL_FOOTER_COPYRIGHT located at? been looking for it and can't find it

  6. #6
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Changing Footer for Invoice

    The language file you'd looking for would be: includes/languages/<your_language>/email_extras.php.

    PHP Code:
    define('EMAIL_FOOTER_COPYRIGHT','Copyright (c) ' date('Y') . ' <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>'); 
    (which, in this case, would be english).

 

 

Similar Threads

  1. v150 Pay by invoice; Invoice Payment Module for v1.3
    By marton_1 in forum Addon Payment Modules
    Replies: 2
    Last Post: 17 Jul 2013, 09:28 PM
  2. v139h invoice footer showing file path - need to turn off
    By wiccan0974 in forum General Questions
    Replies: 1
    Last Post: 22 Sep 2012, 03:36 AM
  3. Changing Invoice Email
    By yaseent in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 May 2009, 12:13 AM
  4. Changing an invoice
    By BlacksmithRon in forum General Questions
    Replies: 6
    Last Post: 14 Jul 2008, 03:10 PM
  5. Add footer to packing slip and invoice print out
    By Kitty in forum Managing Customers and Orders
    Replies: 1
    Last Post: 25 Nov 2007, 10:47 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