- Posts: 6
- Thank you received: 0
Add Customer IP address to invoice
11 years 6 months ago #195944
by travisb
Add Customer IP address to invoice was created by travisb
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.4
I am trying to add the customers IP address to the admin invoice that gets mailed to site owner. We need to have that present on the printed invoices. Is there a way to add this. what is the code. I have seen other messages about adding email addresses, but i need to add the customer ip address.
Thanks
-- Joomla version -- : 3.3.4
I am trying to add the customers IP address to the admin invoice that gets mailed to site owner. We need to have that present on the printed invoices. Is there a way to add this. what is the code. I have seen other messages about adding email addresses, but i need to add the customer ip address.
Thanks
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195956
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Add Customer IP address to invoice
Hi,
You can get the IP in the field "order_ip" of the order.
You can also get some IP information in the order history but the field "order_ip" will be easier ; you can use the email tags to display easily that field
Regards,
You can get the IP in the field "order_ip" of the order.
You can also get some IP information in the order history but the field "order_ip" will be easier ; you can use the email tags to display easily that field
Code:
{VAR:order.order_ip}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 6 months ago - 11 years 6 months ago #197240
by travisb
Replied by travisb on topic Add Customer IP address to invoice
Thank you for the response.....but can you walk me through how to do that ..step by step.
Example: The current invoices we print for our records have the following information-
SUMMARY OF THE ORDER
Customer:
Order Number
Payment Method
Shipping Method
Billing Address Shipping Address
Name Unit Price Qty Total
Subtotal
Shipping
Total
I am trying to add a field that would show :customer ip address: somewhere on this form, preferably after order number.
Thanks
Example: The current invoices we print for our records have the following information-
SUMMARY OF THE ORDER
Customer:
Order Number
Payment Method
Shipping Method
Billing Address Shipping Address
Name Unit Price Qty Total
Subtotal
Shipping
Total
I am trying to add a field that would show :customer ip address: somewhere on this form, preferably after order number.
Thanks
Last edit: 11 years 6 months ago by travisb. Reason: add more info
Please Log in or Create an account to join the conversation.
11 years 6 months ago #197263
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Add Customer IP address to invoice
Hi,
For more details about how customize the display, I recommend you that documentation page:
www.hikashop.com/support/documentation/1...ize-the-display.html
Depending of the invoice you're talking about, you will need to override the "front-end | order | show" or the "back-end | order | invoice" view.
Regards,
For more details about how customize the display, I recommend you that documentation page:
www.hikashop.com/support/documentation/1...ize-the-display.html
Depending of the invoice you're talking about, you will need to override the "front-end | order | show" or the "back-end | order | invoice" view.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.208 seconds