Post by bogdangergov1 » Mon Sep 11, 2017 3:03 pm

Hi, how can I add a text in my Invoice
Company: John DEE
Address: Mallorca 13
and etc.....

Opencart version 1.5.6.4


see attachment
sorry for bad English

Attachments

6i8urlzr.jpg

6i8urlzr.jpg (69.15 KiB) Viewed 197 times

Last edited by bogdangergov1 on Sun Sep 17, 2017 12:46 am, edited 2 times in total.

Newbie

Posts

Joined
Mon May 29, 2017 5:48 pm

Post by sachin6609 » Mon Sep 11, 2017 6:01 pm

Hii

Its quite easy let me know which oc vesrion you are using so i can tell you in details

Thanks

Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by bogdangergov1 » Mon Sep 11, 2017 7:44 pm

sachin6609 wrote:
Mon Sep 11, 2017 6:01 pm
Hii

Its quite easy let me know which oc vesrion you are using so i can tell you in details

Thanks

Sachin
version 1.5.6.4

Newbie

Posts

Joined
Mon May 29, 2017 5:48 pm

Post by sachin6609 » Tue Sep 12, 2017 6:56 pm

Hii

Go to Admin Panel folder then go to view / template / sale then open the order_invoice.tpl

Then Serch the below lines

<?php echo $order['payment_address']; ?>
or
<?php echo $order['email']; ?>
or
<?php echo $order['telephone']; ?>

then infront of that lines you can simply add the prefix you want

Thanks

SAchin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by bogdangergov1 » Wed Sep 13, 2017 6:02 am

sachin6609 wrote:
Tue Sep 12, 2017 6:56 pm
Hii

Go to Admin Panel folder then go to view / template / sale then open the order_invoice.tpl

Then Serch the below lines

<?php echo $order['payment_address']; ?>
or
<?php echo $order['email']; ?>
or
<?php echo $order['telephone']; ?>

then infront of that lines you can simply add the prefix you want

Thanks

SAchin
<tr>
<td><?php echo $order['payment_address']; ?><br/>

<b><?php echo $text_email; ?></b>
<?php echo $order['email']; ?><br/>

<b><?php echo $text_telephone; ?></b>
<?php echo $order['telephone']; ?>
</tr>

OK. phone and email ok, but how to make a 'payment_address'
The 'payment_address' has six fields
- Name
- Company
- Street
- Country

Newbie

Posts

Joined
Mon May 29, 2017 5:48 pm

Post by sachin6609 » Wed Sep 13, 2017 8:08 pm

Hello bogdangergov1

For that it is not possible whatever You say For payment address

Just add The Word Address Then because all that six fields are combine in one single item only

Thanks
Sachin

Active Member

Posts

Joined
Thu Jul 23, 2015 2:57 pm

Post by bogdangergov1 » Sun Sep 17, 2017 12:45 am

sachin6609 wrote:
Wed Sep 13, 2017 8:08 pm
Hello bogdangergov1

For that it is not possible whatever You say For payment address

Just add The Word Address Then because all that six fields are combine in one single item only

Thanks
Sachin
Its possible
My problem is resolved in a simple way
see attachment

after filling out the address format - make a new order (mandatory new order) and see the invoice

Attachments

Untitled-1.jpg

Untitled-1.jpg (104.24 KiB) Viewed 52 times


Newbie

Posts

Joined
Mon May 29, 2017 5:48 pm
Who is online

Users browsing this forum: No registered users and 89 guests