Post by pietnlindy » Mon Aug 05, 2019 6:58 am

Hi all,

I made a fake order from my store in 3.0.3.2 and then went into the orders section to delete it but there is no delete option.
I also noticed the invoice did not print with the Invoice-prefix I set up.

I can change the order status to cancelled but it still shows the amount added to the totals in dashboard.

so can anyone help with...

1. How do I remove/delete the sale AND the total as I dont want the sales total to show any cancelled ordered.
2. how do I make sure the invoices show the invoice number as per settings.
3. How can I edit the invoice layout including having a logo
Last edited by pietnlindy on Mon Aug 05, 2019 3:57 pm, edited 1 time in total.

New member

Posts

Joined
Thu Jul 25, 2019 4:06 pm

Post by by mona » Mon Aug 05, 2019 7:56 am

1. Delete the order => screenshot 1
2. Invoice number => screenshot, but I think you mean point 4
3. Add logo => you add the image to admin/template/sale/order_invoice_twig

4. To swop the invoice and order number - same file above

from

Code: Select all

line 17  <h1>{{ text_invoice }} #{{ order.order_id }}</h1>
line 38   and <b>{{ text_invoice_no }}</b> {{ order.invoice_no }}<br />
to

Code: Select all

<h1>{{ text_invoice }} #{{ order.invoice_no }}</h1>
and <b>{{ text_invoice_no }}</b> {{ order.order_id }}<br />
and you can go into the language file and change {{ text_invoice_no }} to be order number or remove it altogether


ocmod to fix this and another fix re custom field in address from previous post

Attachments

Screen-Shot-2019-08-05.jpg

Screen-Shot-2019-08-05.jpg (56.46 KiB) Viewed 96 times

Screen-Shot-2019-08-05-1.jpg

Screen-Shot-2019-08-05-1.jpg (40.99 KiB) Viewed 96 times


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by pietnlindy » Mon Aug 05, 2019 3:56 pm

by mona wrote:
Mon Aug 05, 2019 7:56 am
1. Delete the order => screenshot 1
2. Invoice number => screenshot, but I think you mean point 4
3. Add logo => you add the image to admin/template/sale/order_invoice_twig

4. To swop the invoice and order number - same file above

from

Code: Select all

line 17  <h1>{{ text_invoice }} #{{ order.order_id }}</h1>
line 38   and <b>{{ text_invoice_no }}</b> {{ order.invoice_no }}<br />
to

Code: Select all

<h1>{{ text_invoice }} #{{ order.invoice_no }}</h1>
and <b>{{ text_invoice_no }}</b> {{ order.order_id }}<br />
and you can go into the language file and change {{ text_invoice_no }} to be order number or remove it altogether


ocmod to fix this and another fix re custom field in address from previous post
Your a legend as usual.
Thanks mate.

New member

Posts

Joined
Thu Jul 25, 2019 4:06 pm
Who is online

Users browsing this forum: No registered users and 19 guests