Skip to main content

Add Customer IP address to invoice

More
11 years 6 months ago #195944 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

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #195956 by Jerome
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
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.

More
11 years 6 months ago - 11 years 6 months ago #197240 by travisb
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
Last edit: 11 years 6 months ago by travisb. Reason: add more info

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #197263 by Jerome
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,

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
Powered by Kunena Forum