smorales Posted September 4, 2006 Share Posted September 4, 2006 I'm a newbie, I'm trying to get me fancy invoice to work but ran into some issues, here they are: I don't understand but I get this at the top of the form NAVBAR_TITLE_4 In the grey aread where the heading are suppose to go this is what I have HEADING_PRODUCTS HEADING_MODEL HEADING_UNIT HEADING_TOTAL I'm sure I missed something, so if anyone has run into this issue or can point me in the right direction it would be aprreciated. Thanks Link to comment Share on other sites More sharing options...
pyramids Posted September 4, 2006 Share Posted September 4, 2006 It looks like you are missing defines in includes/languages/english/account_history_info.php Add (change text for english): define('NAVBAR_TITLE_4', 'Faktura'); define('HEADING_ORDER_TOTAL', 'Ordre Total:'); define('HEADING_SHIPPING_METHOD', 'Forsendelses m?de'); define('HEADING_PRODUCTS', 'Produkter'); define('HEADING_TAX', 'Heraf moms'); define('HEADING_TOTAL', 'Total'); define('HEADING_MODEL', 'Model'); define('HEADING_UNIT', 'Pr. enhed'); define('HEADING_BILLING_INFORMATION', 'Betaler information'); define('HEADING_ORDER_HISTORY', 'Ordre historik.'); define('HEADING_COMMENT', 'Kommentarer'); Link to comment Share on other sites More sharing options...
smorales Posted September 5, 2006 Author Share Posted September 5, 2006 Could you post the entire account_history_info.php on here cause I have no idea where it goes, what's odd is that I went to the original documentation and don't really see anything in regards to this, but it's worth a try. Thanks (pyramids) It looks like you are missing defines in includes/languages/english/account_history_info.php Add (change text for english): define('NAVBAR_TITLE_4', 'Faktura'); define('HEADING_ORDER_TOTAL', 'Ordre Total:'); define('HEADING_SHIPPING_METHOD', 'Forsendelses m?de'); define('HEADING_PRODUCTS', 'Produkter'); define('HEADING_TAX', 'Heraf moms'); define('HEADING_TOTAL', 'Total'); define('HEADING_MODEL', 'Model'); define('HEADING_UNIT', 'Pr. enhed'); define('HEADING_BILLING_INFORMATION', 'Betaler information'); define('HEADING_ORDER_HISTORY', 'Ordre historik.'); define('HEADING_COMMENT', 'Kommentarer'); Link to comment Share on other sites More sharing options...
pyramids Posted September 5, 2006 Share Posted September 5, 2006 All you need to do is open the file "includes/languages/english/account_history_info.php" Make sure the defines I listed are there, if not add them after correcting the "Text" Link to comment Share on other sites More sharing options...
smorales Posted September 5, 2006 Author Share Posted September 5, 2006 Hey Pyramids, Thanks that worked. Do you have any ideas on why the Print Invoice Button opens a new window in it displays nothing, The page cannot be found. If you have any idea, in any case thanks a bunch. Could you post the entire account_history_info.php on here cause I have no idea where it goes, what's odd is that I went to the original documentation and don't really see anything in regards to this, but it's worth a try. Thanks (pyramids) Link to comment Share on other sites More sharing options...
smorales Posted September 5, 2006 Author Share Posted September 5, 2006 I found this in the error_log, error_log:[05-Sep-2006 14:20:50] PHP Warning: main(includes/modules/EMAIL_INVOICE_DIRFILENAME_EMAIL_INVOICE) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/electrq8/public_html/shop/checkout_process.php on line 225 [05-Sep-2006 14:20:50] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/modules/EMAIL_INVOICE_DIRFILENAME_EMAIL_INVOICE' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/electrq8/public_html/shop/checkout_process.php on line 225 Here is the checkout_process.php file lets start with the email confirmation // Start Html Invoice if (EMAIL_INVOICE == 'true') { require(DIR_WS_MODULES . EMAIL_INVOICE_DIR . FILENAME_EMAIL_INVOICE); } else { // END HTML Invoice See if that helps Hey Pyramids, Thanks that worked. Do you have any ideas on why the Print Invoice Button opens a new window in it displays nothing, The page cannot be found. If you have any idea, in any case thanks a bunch. Link to comment Share on other sites More sharing options...
Jamez Posted September 6, 2006 Share Posted September 6, 2006 You havent uploaded the language files nor entered the filenames in the filename.php Read the instructions from the top and double check you have done everything because you havent installed it correctly. Link to comment Share on other sites More sharing options...
jag007 Posted September 6, 2006 Share Posted September 6, 2006 Firstly, i have to say great contribution... Secondly, im getting a few problems, they provbably minor. prob 1: In the packing slips i get: INVOICE_TEXT_INVOICE_NR 12 INVOICE_TEXT_INVOICE_DATE09/05/2006 appearing above the 'Packing Slips' heading . Also, where the packing slips heading should be im getting 'TITLE_PACKING' (Ive checked the catalog/admin/includes/english/packingslip.php and it looks fine from there. and also the SKU~ amount dont appear. Prob 2: The customer account order invoice is fine, but when they go to 'Print Order, the order comes up, but the get the same INVOICE_TEXT_INVOICE_NR 12 INVOICE_TEXT_INVOICE_DATE09/05/2006 Appearing above the 'Invoice' heading. and also where it has the heading 'Order Status' it comes up as TEXT_INFO_ORDERS_STATUS_NAME Any help would be great..Thanks jag Link to comment Share on other sites More sharing options...
Jamez Posted September 6, 2006 Share Posted September 6, 2006 Same reply as the above. There is a proper support thread for this contribution, I suggest you find and read that one. Link to comment Share on other sites More sharing options...
jag007 Posted September 6, 2006 Share Posted September 6, 2006 Ive sorted it, jus added some coding into some files... all looking good now! :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.