Pedalman Posted December 13, 2018 Posted December 13, 2018 Sometimes customers want me to add important data on an invoice. Is there an elegant way to add this? Best would be directly from the backoffice/orders. There is already the form for notes to be seen only by employees and not the customers. Could this be 'cloned' and and a variable be addes to invoice.tpl? Or any easier way? Thank you
haylau Posted December 13, 2018 Posted December 13, 2018 Do you mean each customer can add information to the order that can be seen on the invoice? So for example, we have customers who add their purchase order numbers, and those numbers appear on the invoice for the accounts department For this, we advise them to use the "Order Message" box while placing the order. But it still does not appear on the invoice by default. It is possible to hard code the invoice tpl file so that it includes the customer message, but we use the M4PDF module and do it that way
colorful-ant Posted December 13, 2018 Posted December 13, 2018 I am not sure if I have adjusted it with me with this variant https://www.prestashop.com/forums/topic/452779-insert-customer-order-messagenote-into-invoice-16014/
Pedalman Posted December 14, 2018 Author Posted December 14, 2018 No, I am not looking for a sultion where everycustomer can leave information to be added to invoice during checkout or customer account. I am looking for a way where an employee can add information in backoffice/orders that can be added to that special invoice (orderID)... For example yesterday a University made an order but informed me that it is necessary that a certain number appears on the invoice...
haylau Posted December 14, 2018 Posted December 14, 2018 @pedalman said in customer wants me to add "text" to invoice: invoice Yes, so that is the customer message. It is exactly what we do. There is no way to manually add it though. It has to be done at the time of the order in the order message box, then use one of the systems shown to add that message to the invoice
colorful-ant Posted December 14, 2018 Posted December 14, 2018 I used this for my old ps 1.6 installation . Example add to invoice.tpl ``` {if $order_detail.first_order_message} {l s='Kundennachricht:' pdf='true'} {$order_detail.first_order_message} {/if} ``` But I do not remember what else I had adapted. So I had a message left in the orders of the customer in the remark field. If no info was deposited, e.g. the note Paypal payment accepted. It is not for info that has been added later.
Pedalman Posted December 17, 2018 Author Posted December 17, 2018 Oh oh I just found out that you can actually add text to the specific invoice in backoffice orders. It is hidden in the tab 'documents' in backoffice orders. Well, that is nice. Thank you for your tipps !
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now