Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Posts
    332
    Plugin Contributions
    0

    Default Popup Print Invoice Version 1.1

    I downloaded this mod from this link:

    http://www.pluscom.us/contrib/popup_...voice_v1.1.zip

    Running it on Zencart 1.3.8 and it works great except that on the invoice the text [Print Order Invoice] doesn't show, instead it shows a link under TEXT_PRINT_RECEIPT TEXT_ACCOUNT_INVOICE_PRINT.

    As instructed, I've added the define text lines on account_history_info.php and checkout_success.php both on my template and the main file but it still doesn't work.

    There is probably a simple solution to this but I'm not familiar with php enough to know where to look.

    I was wondering if anyone can help me on this? Thanks!

    Does it have something to do with this code:

    <!--bof added lines by popup_invoice_print_v1.1 module box -->

    <div class="centerColumn" id="accountHistInfo" colspan="1" align="center">
    <?php
    echo '<br />';
    echo '<hr witdth=100%>';
    echo TEXT_CHECKOUT_PRINT_ALERT;
    echo '<h4>';
    echo '<br />';
    echo '<a href="javascriptopupWindow(\'' .
    zen_href_link('popup_print_invoice&order_id='. $zv_orders_id) . '\')">' .

    TEXT_PRINT_RECEIPT . '</a>';
    ?>
    <!--eof added lines by popup_invoice_print_v1.1 module box -->

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Popup Print Invoice Version 1.1

    Quote Originally Posted by Decostyle View Post
    ... on the invoice the text [Print Order Invoice] doesn't show, instead it shows a link under TEXT_PRINT_RECEIPT TEXT_ACCOUNT_INVOICE_PRINT.

    As instructed, I've added the define text lines on account_history_info.php and checkout_success.php both on my template and the main file but it still doesn't work.
    It seems that the edits you were to make for the language files haven't "taken". Either they were made in the wrong files or the upload of the changes was unsuccessful.
    .

    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
    Mar 2008
    Posts
    332
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    Any quick fix for this? Anyone else use this? It's a simple and clean mod and I do wish to use it if I can get this thing fixed!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Popup Print Invoice Version 1.1

    Quick fix? Sure. Put the defines in the right files, and ensure that the changes get uploaded to your server successfully.
    As you say, it's a simple mod.
    .

    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
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Popup Print Invoice Version 1.1

    wouldnt it be just as easy to create a new add-ons.php language file and place the defines there.

    It will then auto load, and also gives a great place to put any other custom language defines

  6. #6
    Join Date
    Jun 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    Hi, I have got this working great, but it is using the wrong invoice.

    I have Super Orders 2 installed, when I print the invoice from admin it is correct but this script seems to bring up another invoice.

    I changed the bit where it said order.php to super_order.php but the screen just stayed blank

    On the Popup Print version it shows:

    Item Name:1 x Allure Sensuelle by Chanel Eau de Parfum for Women (100ml) Model: HBALLURESEN100
    Tax:None!
    Unit Price: $200.00
    Total: $200.00

    Where I need it to be like the admin one which is like:

    Products: 1 x Allure Sensuelle by Chanel Eau de Parfum for Women (100ml) Model:HBALLURESEN100
    Tax:10%
    Price (ex) $200.00
    Price (inc) $220.00
    Total (ex) $200.00
    Total (inc) $220.00

    What do I need to change for this script to pick up the correct invoice?

 

 

Similar Threads

  1. 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
  2. Print Invoice Popup
    By shanesoine in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 24 Nov 2010, 11:52 AM
  3. Popup Print Invoice help
    By eps492003 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 May 2010, 09:50 PM
  4. Popup Print Invoice Version 1.1 - STORE_PHONE, STORE_FAX
    By SITM in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 17 Jul 2008, 08:21 PM
  5. Popup Print Invoice Version 1.1 to work with COWOA?
    By Decostyle in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Jul 2008, 02:33 PM

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