Benjjj6 Posted October 15, 2007 Share Posted October 15, 2007 in /includes/languages/english/ the only file I could find was print_my_invoice.php and i couldnt see where to edit what I was looking for :( I even looked in admin/includes/languages/english/ and found invoice.php and packingslip.php but still theres no where in those files to edit 'Store_name' or the others :( Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 I have this contribution working really well, I think it's great. I have one problem. My customers receive HTML emails but with no images - i.e. the tables and everything is missing, just the data is shown and it looks terrible. Does anyone know how to resolve this? Thanks Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 I have this contribution working really well, I think it's great. I have one problem. My customers receive HTML emails but with no images - i.e. the tables and everything is missing, just the data is shown and it looks terrible. Does anyone know how to resolve this? Thanks I have most of this working now but it has a box with a missing image that says oscommerce, how do I get rid of this? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 15, 2007 Share Posted October 15, 2007 I have this contribution working really well, I think it's great. I have one problem. My customers receive HTML emails but with no images - i.e. the tables and everything is missing, just the data is shown and it looks terrible. Does anyone know how to resolve this? Thanks If your site is on the web, set the image file permissions to 777 Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 If your site is on the web, set the image file permissions to 777 Hi I tried that, I still just get the text oscommerce - I figure there's somewhere I should be able to change that alt text too. Incidentally it was your answers on the previous page which helped me resolve the bulk of this problem - so thanks for that too. I wonder if I have an incorrect path to the image somewhere, but I can't work out which file that would be in? Thanks Lotti Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 Hi I tried that, I still just get the text oscommerce - I figure there's somewhere I should be able to change that alt text too. Incidentally it was your answers on the previous page which helped me resolve the bulk of this problem - so thanks for that too. I wonder if I have an incorrect path to the image somewhere, but I can't work out which file that would be in? Thanks Lotti I noticed this in the other post // Image Info define('INVOICE_IMAGE', '/images/topbar.jpg'); //Change this to match your logo image and foler it is in define('INVOICE_IMAGE_WIDTH', '180'); // Change this to your logo's width define('INVOICE_IMAGE_HEIGHT', '85'); // Change this to your logo's height define('INVOICE_IMAGE_ALT_TEXT', STORE_NAME); // Change this to your logo's ALT text or leave blank but I'm not sure which file that is in. Thanks Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 I noticed this in the other post // Image Info define('INVOICE_IMAGE', '/images/topbar.jpg'); //Change this to match your logo image and foler it is in define('INVOICE_IMAGE_WIDTH', '180'); // Change this to your logo's width define('INVOICE_IMAGE_HEIGHT', '85'); // Change this to your logo's height define('INVOICE_IMAGE_ALT_TEXT', STORE_NAME); // Change this to your logo's ALT text or leave blank but I'm not sure which file that is in. Thanks I've looked at the email source and it says: src=3D"http://www.MYDOMAIN.co.uk/catalog/images/osc=commerce.gif" so I suspect this is the issue, where do I change that bit? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 15, 2007 Share Posted October 15, 2007 I noticed this in the other post // Image Info define('INVOICE_IMAGE', '/images/topbar.jpg'); //Change this to match your logo image and foler it is in define('INVOICE_IMAGE_WIDTH', '180'); // Change this to your logo's width define('INVOICE_IMAGE_HEIGHT', '85'); // Change this to your logo's height define('INVOICE_IMAGE_ALT_TEXT', STORE_NAME); // Change this to your logo's ALT text or leave blank but I'm not sure which file that is in. Thanks I have it in admin\includes\languages\english\ email_invoice.php invoice.php packingslip.php print_my_invoice.php <--- but that may be another contrib Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 I've looked at the email source and it says: src=3D"http://www.MYDOMAIN.co.uk/catalog/images/osc=commerce.gif" so I suspect this is the issue, where do I change that bit? Thanks I've tried all the files suggested but still have the same problem - any more suggestions? Thanks Quote Link to comment Share on other sites More sharing options...
PJ2006 Posted October 15, 2007 Share Posted October 15, 2007 If you haven't solve your problem with printing as a customer. I found out the "bug", you have to add define('FILENAME_PRINT_MY_INVOICE', 'print_my_invoice.php'); In catalog/includes/filenames.php just before ?> Hope this will help you.. Regards Peter Thanks Peter, I made that change. When I press print invoice, a new screen appears with the invoice data but I can't print it - any other suggestions? Thanks Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted October 15, 2007 Share Posted October 15, 2007 do you know how I could change this at the top of invoice.php, packing_slip.php and print_my_invoice.php to my actual store details? Store Name Address Country Phone Quote Link to comment Share on other sites More sharing options...
iwjdesigns Posted October 15, 2007 Share Posted October 15, 2007 do you know how I could change this at the top of invoice.php, packing_slip.php and print_my_invoice.php to my actual store details? Store Name Address Country Phone Setup your store details at Config > My Store with your details - hint use html to <b>(bold) etc.. Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted October 15, 2007 Share Posted October 15, 2007 Setup your store details at Config > My Store with your details - hint use html to <b>(bold) etc.. thankyou... i cant believe I didnt see that ! :rolleyes: :-" Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted October 25, 2007 Share Posted October 25, 2007 ive found something a little strange... When I view my invoice and packingslips on the admin side by clicking the relavent buttons next to a customers order they look like this: but when I print them they look like this: How can I remove the website address from the top right hand corner? Its not good for customers to see the admin section. How can I make it so that when you print the invoice the edges of the box are smooth and not disjointed like in the first pic as opposed to the second? Thanks, Ben Quote Link to comment Share on other sites More sharing options...
candycanuck Posted October 26, 2007 Share Posted October 26, 2007 hi, on my invoice.php, packing_slip.php and print_my_invoice.php pages I have at the top: How can I edit this? Go to your admin. Configuration > My Store Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted October 26, 2007 Share Posted October 26, 2007 ^ thanks candycanuck, I managed to change that as iwjdesigns had already replied, but I appreciate your help. Out of interest... do you get the same problem I mentioned in my post above. When you print the packing slip are all the lines round the outside of the boxes disjointed too? I am really looking for a way to fix this as it looks much better when the boxes are outlined fully. Thanks, Ben Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted November 1, 2007 Share Posted November 1, 2007 Is this happening to anyone else, do you think there could be a problem with my stylesheet? Why would the boxes look different when they are printed, I really would like some help - it must be fairly simple. If you dont understand the problem im having, just ask and ill explian it again. The pictures above should be fairly self explanatory. Thanks in advance, Ben ^ thanks candycanuck, I managed to change that as iwjdesigns had already replied, but I appreciate your help. Out of interest... do you get the same problem I mentioned in my post above. When you print the packing slip are all the lines round the outside of the boxes disjointed too? I am really looking for a way to fix this as it looks much better when the boxes are outlined fully. Thanks, Ben Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted November 1, 2007 Share Posted November 1, 2007 (edited) Sorry, Its too late to edit my last post, but I have a few more questions: Is it possible to send an email to myself because I have no idea what the HTML invoice or the box invoice looks like and dont want to buy something from myself, but would like to see what emails my customers could be receiving. Also, I just found 3 files that look like this "db_hugo-20070403192849.sql" in /public_html/includes/modules/email_invoice/templates what are they for? I dont think I have seen them before. Also, what pages are the emails actually sent from and what file do I need to edit if I want to chnage the wording in the original OsCommerce order email? Thanks, Ben Edited November 1, 2007 by Benjjj6 Quote Link to comment Share on other sites More sharing options...
devilgrins Posted November 9, 2007 Share Posted November 9, 2007 is there a way to get account history info showing the products unit total with TAX added? where it gives the products/model/unit and total info i would the amount to reflect with TAX.. thanks for any info.... Quote Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2007 Share Posted November 26, 2007 Hope someone can help me on this. Not that good with coding but I understand it is something to do with $this Our server has just been upgraded to PHP 5 and when I view invoice.php I get the following error... Fatal error: Using $this when not in object context in /home/admin/public_html/admin/invoice.php on line 183 This is the code.... <?php if (tep_not_null($order->info['cc_number'])) { $this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) . substr($order->info['cc_number'], -4); ?> Also when a customer views one of their previous orders via account_history_info.php they can see the Address, order then date of order but the rest of the order is blank. Unfortunatley their is no error code or line number as a reference. I have hunted high and low but cannot find the answer. Anyone ? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2007 Share Posted November 26, 2007 Hope someone can help me on this. Not that good with coding but I understand it is something to do with $this Our server has just been upgraded to PHP 5 and when I view invoice.php I get the following error... I have hunted high and low but cannot find the answer. Anyone ? Thanks Did you look here: http://www.oscommerce.com/forums/index.php?showtopic=177004 Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted November 26, 2007 Share Posted November 26, 2007 (edited) ive found something a little strange... When I view my invoice and packingslips on the admin side by clicking the relavent buttons next to a customers order they look like this: but when I print them they look like this: How can I remove the website address from the top right hand corner? Its not good for customers to see the admin section. How can I make it so that when you print the invoice the edges of the box are smooth and not disjointed like in the first pic as opposed to the second? Thanks, Ben ^ Is any one having this problem? it seems like a strange but probably fairly simple error. I cant believe everyone else has their invoices looking like this and hasnt said anything. Am I the only one who thinks this is a problem? At the moment im forced to copy the entire thing into word and delete the lines because they look too amateur. Why does the box have a smooth outline when you view it online but not when you print it? Also, Could someone post a screenshot of how the HTML email invoice option looks, I would rather send the HTML version to my customers although I dont know how it looks or if it all works ok. Is it possible to send a sample to myself? Thanks, Ben Edited November 26, 2007 by Benjjj6 Quote Link to comment Share on other sites More sharing options...
acideddy Posted December 1, 2007 Share Posted December 1, 2007 (edited) I have installed this mod and on the whole it works well and the invoices look loads better. The only problem is that I dont get any order confirmations through now. I have STS and HSBC payment modules installed. The customer gets an order confirmation no prob. If I turn the HTML eMails off then I get one and the customer doesnt!! Any one any ideas? Eddy Edited December 1, 2007 by acideddy Quote Link to comment Share on other sites More sharing options...
jonquil Posted December 1, 2007 Share Posted December 1, 2007 ^ Is any one having this problem? it seems like a strange but probably fairly simple error. I cant believe everyone else has their invoices looking like this and hasnt said anything. Am I the only one who thinks this is a problem? At the moment im forced to copy the entire thing into word and delete the lines because they look too amateur. Why does the box have a smooth outline when you view it online but not when you print it? Also, Could someone post a screenshot of how the HTML email invoice option looks, I would rather send the HTML version to my customers although I dont know how it looks or if it all works ok. Is it possible to send a sample to myself? Thanks, Ben Yup, my prints look the same. The issue is the images on the side. Do a right-click to see the actual size. Each is specced to stretch onscreen but will retain its original size in print. Fix? I will be replacing the corners with flat corners and the sides with a clear spacer.gif. Won't see the sides onscreen or in print. Works for me :) jon Quote It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
Benjjj6 Posted December 1, 2007 Share Posted December 1, 2007 thanks for the reply Jon, although I think I would rather keep the borders myself :( I might try and create a longer lines for the sides and hope that the boxes are the same size each time. Do you know what file the images are mentioned in? i.e. what files I would have to change if I changed the names of the images. Thanks, Ben Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.