
Originally Posted by
tracey
Hi Guys!
I'm having troubles viewing where an order comes from via the admin panel. I was directed to check out post 1351 (above) and have since added the column SITE_NAME to my database.
However, I'm not sure where to put the code in the includes/classes/order.php file, as there are 19 instances of '$sql_data_array'.
I'm running Zen Cart version 1.3.9h, with the latest version of the Multi Site module.
If anybody knows how to do this exactly, I'd love some help. Thanks!
tracey, in the readme I found this:
Code:
#######################################
### FILE includes/classes/order.php ###
#######################################
Line 613:
'ip_address' => $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR']
);
Replace by:
'ip_address' => $_SESSION['customers_ip_address'] . ' - ' . $_SERVER['REMOTE_ADDR']
);
//Multisite Module - Add the order_site in the order table
$sql_data_array['order_site']=ORDER_SITE;
//eof Multisite Module
In my setup, the //Multisite... lines are on #645 - I'm running Zen v1.50
Thanks for this, I'll take a look at it. At first glance I'm not sure if it applies as I'm using a single template for all my sites. Perhaps it'll be clearer to me in the cold light of day.
Simon
Bookmarks