IP Logging in X-CART Gold 4.0.x
Hi all,
Just a quick note, I may be wrong, and have not had time to look at the code, but looking at the database, it appears that when an order is placed in 4.0.x it now displays the IP Address for the customer.
However, this IP may be wrong. I looked quickly and I cannot find anywhere except for the login table where the IP is stored.
So if a customer is either using different machines, or having their IP assigned each time they logon to the net, then this could be wrong.
A Customer may place many orders with your store, and each order may be placed from different locations (work, home, even remote now with wireless internet). So picking up the IP from the login table could be wrong.
I agree, it should be recorded in the login table, but why does X-CART not store it in the orders table as well ???.
This way you would have the correct IP for each order !
Come on X-CART, think about it !
PS: I have now developed a mod, which detects the country of the shopper/visitor and displays the alternate currency for their country (if availbale). With a small mod, it could also be used to stop traffic from certain countries. (ie. If you do not ship outside the USA, then stop the customer at the front door and don't let them in. This would save on server resourses and bandwidth).
__________________
All versions of X-Cart
Been in eCommerce 10 years, Coding, PM, SEO, Social. X-Cart 11 years. IT 30+ years.
Head of Web Dev for Australia's largest eCommerce 2 years.
Attended conferences, Velocity 2009 US, CeBit 2009, MySQL 2010 US, Online Retailer 2010, Web 2.0 2011 US, MySQL 2012 US (Percona).
Specialise in High Performance, High Volume, PHP, MySQL, HTML, CSS, JAVASCRIPT, SMARTY, MEMCACHED, APACHE, LIGHTTPD, FREEBSD, LINUX.
Email your requests to xcart@gazwebtech.com
|