Jump to content
3bsstudio

Remove Extra Type from PDF Invoice

Recommended Posts

HI

Please help as I'm tearing my hair out.

I've changed 'Special Instructions:' throughout the site into 'Comments or Special Instructions:' and it works and shows up everywhere OK - except on the Invoice PDF which has the additional words 'Customer's comments:' before  'Comments or Special Instructions:'

I've serached and searched and I cannot for the life of me find where this is being inserted.

See screenshot of email order which is correct and PDF Invoice which is incorrect. The online invoice is totally corect too - just this PDF.

Any help gratefully received.

(Running osCommerce 2.2-MS2  |   https://www.gasbottlesdirect.co.uk )

ThanksOSCommerce-Invoice.thumb.jpg.d27368a636e97ef8c632f32f2b1b879e.jpgOSCommerce-Email-Invoice.jpg.1061227f7df31c9f6f3d07403912704b.jpg

Share this post


Link to post
Share on other sites

PDF invoice is not standard in any version of osCommerce, therefore the best advice is;

download a copy of your site
download a program that can search files (eg beyondcompare or grepwin)
search your files for the string "Customer's Comments"

amend the file in which it is found.

Your version went EOL (End Of Life) over a decade ago.  
You might want to think about upgrading to the latest version.


Help shape the future of Phoenix; join the Phoenix Club

Share this post


Link to post
Share on other sites

I've tried that - Dreamweaver can do search and could not find that string. Downloaded Beyondcompare as you suggested and that couldn't find it either? Totally stumped as to where it's coming from?

Share this post


Link to post
Share on other sites

Did you search for Customer\'s Comments?  The apostrophe would need escaped in a string, so an overly literal search might miss it. 


Always back up before making changes.

Share this post


Link to post
Share on other sites

I searched every possible combination and still nothing. I am convinced it is embedded in the PDF template as it appears nowhere else except on the Credit Note PDF too. Any other suggestions?

 

Share this post


Link to post
Share on other sites

I'm not sure we have added an addon to generate the PDF. I think this is done from within the clients EPOS system. Can't be 100% - is there any easy way to check - had a look through Modules but nothing there regards PDFs. Sorry to be vague but modules, etc was handled by someone else who is no longer with us.

Share this post


Link to post
Share on other sites

How do you generate the PDF?  Do you click a link on an osCommerce page?  Or do you go somewhere else?  If an osC page, which one and what actions do you do?  Press a button?  Does it link somewhere?  Where? 

I don't want to grill you, but those are the kinds of things we would need to help you find what you need.  All this assumes that it is not in the EPOS, as we wouldn't offer much help then. 


Always back up before making changes.

Share this post


Link to post
Share on other sites

Finally, as I suspected the 'Customer's comments:' is added in the EPOS system on the PDF templates. That's now been commneted out and has gone.

Thanks for all your suggestions.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×