missing second page of invoice

  • Posts: 90
  • Thank you received: 0
11 years 4 months ago #115220

hi,

I received an order on my website with 30 different items on the order. I have been able to print out the first 27 items but it keeps missing the last 3 items - these should be appearing on the next page but my printer prints the 1st 27 then prints the final totals on the next sheet.
Any ideas on how I can solve this?

kind regards,
Tanya

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #115244

Hi,

Did you edited the "Invoice" file of your "Order" view of your Back-end template ? If yes can you test it without your customization (don't forget to save your customization before any tests) ?

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 4 months ago #115451

Do you mean the invoice file under display>views?

If yes then I have just tried that - I did as you said but its still not working, even after I've removed my customisation.

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 4 months ago #115476

Hi there,

It sounds strange, could you try to get your invoice as a pdf and look if the products are missing there too?

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 3 months ago #115806

hi,

yes its missing off of the pdf too. I've attached the pdfs to show you - invoice 1 is as it is now, invoice 2 is when i've removed the invoice customization as recommended by Mohamed.

Tanya

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #115851

Are the product missing specials?
I mean, it may be options and you may have activated the "group options with product" option leading them not to be displayed.
If it's not the case, I would suggest to try with different orders to see if you can notice missing products as well.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 3 months ago #115864

Hi,

I've tried to view the invoice with both 'group options with product' turned on and off. the invoice still looks the same either way.
I haven't got any other orders from customers with that many different items, so I've just done a practice order with 29 items and again it has missed off the last items and the totals (please see attached file). the group options with product was turned off when I did the practice order and when I viewed the invoice on the backend.
Sorry to be a pain but do you have any other ideas as to what it could be?

Tanya

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #115889

It's really strange, it looks like the html is messed up.
Could you try with this file as your invoice view?

File Attachment:

File Name: invoice.txt
File Size:18 KB

Attachments:
Last edit: 11 years 3 months ago by Eliot.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 3 months ago #116210

hi,

thanks for all your help, however I've just tried that and its still not working - have attached the pdf file.

am I changing the correct file? i'm going to display > views > invoice (backend, khepri, order)

any more suggestions?

kind regards,
Tanya

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #116373

I think I understand the problem.
Could you try to replace this line:

if($group && $product->order_product_option_parent_id) continue;

by these lines:
if($group && $product->order_product_option_parent_id) continue;
								if(($k%25)==0) {?>
								 	</tbody>
								 	<tbody>
								<?php } ?>

In the invoice view? It may solve your problem.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 3 months ago #116383

hi,

thank you eliot.
unfortunately I've tried that but its still not working! and for some reason it inserted a load of question marks above the list of items. I've attached the pdf for you to see.

kind regards,
Tanya

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #116456

Arre you sure you did this modification after these lines?

$k=0;
							$group = $this->config->get('group_options',0);
							foreach($this->order->products as $product){

If yes, could you send me a PM with an access to your backend?

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 3 months ago #116947

I just double checked and I'm sure I did exactly that so I've sent you a pm.
I've removed all my own customization from the invoice file (I had moved the top addresses around a bit so that they fitted better on my invoice paper) so if you make any changes can you please let me know what you change so that I can put my own customization back on and add any bits that you change.
Or if you prefer I can put my customization back on the invoice file and if you need to you can edit that instead - let me know if you'd rather I did this.

kind regards,
Tanya

Please Log in or Create an account to join the conversation.

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #116985

Hi Tanya,

I just tried on your end it's actually working.
I think it's just because of your browser that you have this strange result, I have a quite good result with chrome.


File Attachment:

File Name: h965db7d.pdf
File Size:74 KB

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
11 years 3 months ago #117272

hi,

OK thanks for that - I like to use firefox but as you say it loads up OK in other browsers - it worked fine when I just tried it on Internet explorer.
Thanks very much for your help.

kind regards,
Tanya

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds
Powered by Kunena Forum