Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Modify the invoice PDF

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 07-28-2014, 07:15 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default Modify the invoice PDF

Thank you for your order.pdf

There are two pages of extraneous info on the PDF for our receipts. How do I format the look of this? I am browsing the folder for invoice and there are a lot of .tpl files.

Thanks in advance.
__________________
X-Cart 5
Reply With Quote
  #2  
Old 07-30-2014, 03:07 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Modify the invoice PDF

Hi!

Could you please send me the snapshot of your thank you page?
It will help me to suggest how you can fix this problem.

Tony
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #3  
Old 07-30-2014, 04:49 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default Re: Modify the invoice PDF

sorry, wasn't talking about the thank you page.

We want to modify the PDF/printed page you can print off from the thank you page.

See my original post for a link to the PDF "Thank you for your order.pdf"
__________________
X-Cart 5
Reply With Quote
  #4  
Old 08-01-2014, 12:53 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Modify the invoice PDF

Hi benmackie!

I understood, but this PDF page is built by the browser out of the HTML version of thank you page. That is why I asked about the snapshot of your thank you page.

Could you please send it to me? Or am I still missing the point?

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #5  
Old 08-05-2014, 09:13 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default Re: Modify the invoice PDF

The attachment of the PDF is in the original post. Can you not see the link that I posted? I attached it in the message.
__________________
X-Cart 5
Reply With Quote
  #6  
Old 08-08-2014, 02:06 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Modify the invoice PDF

Hi Ben!

I am sorry, probably my message was not clear enough, so let me try to explain what I need in order to help you with this issue.

You have a thank you page and you can get a PDF version of it by clicking 'Print invoice' button. PDF file is generated based on the layout of the HTML page. So, what I am asking for is the snapshot of your thank you page. It will be .jpg or .png file, not .pdf. Can you please provide it? Or do I still sound unclear?

Thank you.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #7  
Old 08-08-2014, 04:47 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default Re: Modify the invoice PDF

Here it is

Click image for larger version

Name:	Screen Shot 2014-08-08 at 8.29.15 AM.png
Views:	604
Size:	84.2 KB
ID:	3864
__________________
X-Cart 5
Reply With Quote
  #8  
Old 08-08-2014, 06:02 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Modify the invoice PDF

Thank you for it!

I just checked your web-site and found out that the code of your theme missing print.css file, although it is included into any page of default X-Cart 5. Could you please ask your developers to put this file back into the source code and it should solve the problem.

Tony.

Quote:
Originally Posted by benmackie
Here it is

Attachment 3864
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
  #9  
Old 08-08-2014, 09:15 AM
 
benmackie benmackie is offline
 

Advanced Member
  
Join Date: May 2013
Posts: 52
 

Default Re: Modify the invoice PDF

I am the developer and I didn't remove it.

We paid for the X-Cart team to install X-Cart 5. Maybe they removed it? If you can send it to me, that would be great. I'll add it back. Just PM me an email address I can talk to you directly at.

Thanks!
__________________
X-Cart 5
Reply With Quote
  #10  
Old 08-11-2014, 11:29 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Modify the invoice PDF

Hi Ben!

I do not think that the file itself was removed from your store. More likely, your theme was designed in a way that print.css file is not longer included into the page's code.

Could you please let me know whether you decorated/changed getThemeFiles() method of the View/AView class?

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:05 AM.

   

 
X-Cart forums © 2001-2020