Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2012
    Posts
    42
    Plugin Contributions
    0

    Default Print Invoice Popup Tax Error

    I recently installed the latest version of the Print Invoice Popup Plugin (for ZC v155). Everything is working fine except that 'None!' is displayed in the 'Tax' column. The correct value is however displayed on the standard ZC invoice.

    The only place where this is checked/displayed is in lines #136 and #143 of the /includes/modules/print_invoice.php file. I cannot find where the variable $display_tax gets a value (true/false) from? Is this perhaps the incorrect variable name? What should it be?

    There is no dedicated plugin support thread for Print Invoice Popup and I could not find any answer in the forums. Anyone that can maybe help here?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Print Invoice Popup Tax Error

    I downloaded the most recent version of the plugin and, like you, cannot find a spot where the $display_tax variable is set ... to anything.

    To get the tax printed for your store, I suggest adding the line:
    Code:
    $display_tax = true;
    at the very top of /includes/modules/print_invoice.php, just below the top comment-block.

  3. #3
    Join Date
    Sep 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Print Invoice Popup Tax Error

    Quote Originally Posted by lat9 View Post
    I downloaded the most recent version of the plugin and, like you, cannot find a spot where the $display_tax variable is set ... to anything.

    To get the tax printed for your store, I suggest adding the line:
    Code:
    $display_tax = true;
    at the very top of /includes/modules/print_invoice.php, just below the top comment-block.
    Thanks lat9, I will do so. It does not really fix the fact that it should check whether tax is to be displayed or not, but I guess that problem will never surface...

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,475
    Plugin Contributions
    88

    Default Re: Print Invoice Popup Tax Error

    Quote Originally Posted by Francois View Post
    Thanks lat9, I will do so. It does not really fix the fact that it should check whether tax is to be displayed or not, but I guess that problem will never surface...
    I looked back at a previous version of the plugin that didn't have that check. I'm not sure what the intent of displaying/not displaying the tax was; in my mind, it's an integral portion of an order.

 

 

Similar Threads

  1. v150 Print Popup Invoice for v1.5?
    By futurist71 in forum Upgrading to 1.5.x
    Replies: 19
    Last Post: 1 Mar 2019, 10:35 PM
  2. Client Invoice - problems customizing the popup-print-invoice addon
    By LloydR in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 12 Jan 2011, 10:41 AM
  3. Print Invoice Popup
    By shanesoine in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 24 Nov 2010, 11:52 AM
  4. Popup Print Invoice help
    By eps492003 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 May 2010, 09:50 PM
  5. Popup Print Invoice Version 1.1
    By Decostyle in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 15 Feb 2009, 08:28 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