Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    I imagine you figured it out by now, but for others- I took the simple approach thanks to my limited programming skills and blanked the define names in popup_print_invoice.php, making sure to leave ''. Example-

    PHP Code:
    define('TABLE_HEADING_PRODUCTS_MODEL''Model'); 
    became

    PHP Code:
    define('TABLE_HEADING_PRODUCTS_MODEL'''); 
    Then for the values, I'll use my example where I didn't want the model number shown so I took line 141 from print_invoice.php-

    PHP Code:
    <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; 
    and deleted model leaving just ''

    PHP Code:
    <td class="dataTableContent" valign="top">' . $order->products[$i][''] . '</td>' . "\n"; 
    I tried blocking out whole lines with <!-- //--> but it was taking a long time with trial and error and I realized the above satisfies my simple needs.

    Robbie
    Last edited by giftmeister; 15 Feb 2009 at 08:18 PM.

  2. #12
    Join Date
    Jan 2009
    Location
    Montreal, Canada
    Posts
    228
    Plugin Contributions
    0

    Default Re: Popup Print Invoice Version 1.1

    What I'm having trouble with is making the invoice show the price for any attributes, as it does on the Cart Contents page. Now it doesn't show anything, but adds the price to the Sub-Total. Hm...

    R

 

 
Page 2 of 2 FirstFirst 12

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