Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2008
    Posts
    333
    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
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

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

  3. #3
    Join Date
    Mar 2008
    Posts
    333
    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
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    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
    Mar 2004
    Posts
    16,019
    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
    30
    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?

  7. #7
    Join Date
    Nov 2007
    Posts
    163
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    I am having the opposite problem... my invoices are suddenly printing with SEVEN columns across as follows:

    Products
    Model
    Tax
    Price (ex)
    Price (inc)
    Total (ex)
    Total (inc)



    Not sure what happened or why the layout has suddenly changed.

    They used to print the way I wanted them with only 3 columns across:

    Products
    Price
    Total

    I haven't installed any additional mods in the past couple days that would have caused this change.

    Any suggestions to getting the invoices to printing the way they used to would be appreciated.

    Zencart ROCKS!
    www.ZenCrystals.com
    www.CraftMagick.com
    Magickal & Metaphysical supplies/services

  8. #8
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    69
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    DJ Jase,

    Completely different files, so if you want them to look the same you will have to change them manually - which is not a big hassle - but getting the "PAID" and "BALANCE" info from superorders to the front seems to be a bit more difficult.

  9. #9
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    69
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    Craft Magick,

    If there are no customisations and it worked fine before just reinstall the contribution and it will go back to new again.

  10. #10
    Join Date
    Nov 2007
    Posts
    163
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    Quote Originally Posted by Craft Magick View Post
    I am having the opposite problem... my invoices are suddenly printing with SEVEN columns across as follows:

    Products
    Model
    Tax
    Price (ex)
    Price (inc)
    Total (ex)
    Total (inc)



    Not sure what happened or why the layout has suddenly changed.

    They used to print the way I wanted them with only 3 columns across:

    Products
    Price
    Total

    I haven't installed any additional mods in the past couple days that would have caused this change.

    Any suggestions to getting the invoices to printing the way they used to would be appreciated.

    Zencart ROCKS!
    bumping this up in case anyone has any clue how to get the invoices to only show 1 price column and 1 total column. Anybody???
    www.ZenCrystals.com
    www.CraftMagick.com
    Magickal & Metaphysical supplies/services

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Print Invoice from FrontEnd
    By imm in forum General Questions
    Replies: 16
    Last Post: 12 Jan 2011, 10:18 AM
  2. 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
  3. Print invoice automatically?
    By dwalk83 in forum Managing Customers and Orders
    Replies: 4
    Last Post: 23 Aug 2007, 05:09 AM
  4. Print Version of Catalog?
    By jamina1 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 Aug 2007, 03:00 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
  •