Post by GiaArv » Fri Nov 18, 2016 5:08 pm

I want to add at the invoice of the orders two extra fields.

1)Add Customer Group of the customer to the invoice

2)Add the date that the customer has made registration the site

I went to admin/view/template/sale/order_invoice.tpl and tried to edit the file.

I managed to add logo and some text e.t.c but i can not figure out how to add
the Customer Group of the customer and the date that the customer has registered to the site.

i tried <?php echo $order['customer_group_id']; ?>

<?php echo $order['text_customer_group']; ?>

But nothing worked. Anyone has any idea how to accomplice these modifications?

Or any extention paid or not that can add this two features in the invoice?

Newbie

Posts

Joined
Fri Nov 18, 2016 4:32 pm

Post by cyclops12 » Sat Nov 19, 2016 7:10 pm

You cant just add it in the .tpl file and expect it to work......you would also need to add relevant code into the controller

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: No registered users and 88 guests