{"id":563,"date":"2019-03-21T04:25:44","date_gmt":"2019-03-21T04:25:44","guid":{"rendered":"http:\/\/angelwings.net\/blog\/?p=563"},"modified":"2019-03-21T04:25:44","modified_gmt":"2019-03-21T04:25:44","slug":"prestashop-how-to-add-the-invoice-number-to-the-backoffice-orders-grid","status":"publish","type":"post","link":"https:\/\/angelwings.net\/blog\/prestashop-how-to-add-the-invoice-number-to-the-backoffice-orders-grid\/","title":{"rendered":"Prestashop: How to add the invoice number to the backoffice orders grid"},"content":{"rendered":"<p>Source: https:\/\/www.prestashop.com\/forums\/topic\/300119-solved-how-to-add-the-invoice-number-to-the-orders-grid\/?do=findComment&amp;comment=1517949<\/p>\n<p>Try to start with adding another array item to $this-&gt;fields_list<\/p>\n<p>add code to:<br \/>\n\/controllers\/admin\/AdminOrdersController.php<\/p>\n<p>&#8216;invoice_number&#8217; =&gt; array(<br \/>\n&#8216;title&#8217; =&gt; $this-&gt;l(&#8216;Rechnung-Nr: &#8216;),<br \/>\n&#8216;width&#8217; =&gt; 50<br \/>\n),<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/www.prestashop.com\/forums\/topic\/300119-solved-how-to-add-the-invoice-number-to-the-orders-grid\/?do=findComment&amp;comment=1517949 Try to start with adding another array item to $this-&gt;fields_list add code to: \/controllers\/admin\/AdminOrdersController.php &#8216;invoice_number&#8217; =&gt; array( &#8216;title&#8217; =&gt; $this-&gt;l(&#8216;Rechnung-Nr: &#8216;), &#8216;width&#8217; =&gt; 50 ),<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[105],"class_list":["post-563","post","type-post","status-publish","format-standard","hentry","category-ecommerce","tag-prestashop-1-6"],"_links":{"self":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts\/563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/comments?post=563"}],"version-history":[{"count":0,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts\/563\/revisions"}],"wp:attachment":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/media?parent=563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/categories?post=563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/tags?post=563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}