How can I set it up so it shows me what order the site has come from. Site 1 Site 2 or site 3
How can I set it up so it shows me what order the site has come from. Site 1 Site 2 or site 3
toussi,
This module is designed to make a single install of ZenCart that is capable of hosting multiple site and managing them from a single admin location. If you already have two sites, you could use it, but I would suggest installing a 3rd fresh copy of zencart, applying MultiSite Module, then integrating the first two sites. Assuming you did the templates correctly on the first two stores it would be pretty easy to integrate their template info into MultiSite.
touchclothing,
What your suggesting is actually default functionality for MultiSite. From the admin menu go to Customers->Orders. On the left of each of the orders you will see "Site" which will tell you which store it came in from.
touchclothing,
Hmm, I just checked the original MultiSite admin.php file. Apparently I wrote that functionality in. Did it so long ago I forgot I did that. I'll send the changes I made shortly.
touchclothing,
I have a number of modifications I've made to the orders.php page. I attempted to pull just the code out that will give you the site markers. I believe I got it all, but make sure you backup orders.php before doing all this. Very simple. Just pulls the site name from the orders table and displays it in the HTML table in that page.
Put his in a file called:
<admin folder>/includes/languages/english/extra_definitions/order_site.php
in [admin folder]/orders.php do the following:PHP Code:
<?php
define('TABLE_HEADING_SITE','Site');
define('HEADING_TITLE_SITE','Site');
?>
find
replace with:PHP Code:
$orders = $db->Execute("select orders_id from " . TABLE_ORDERS . "
find:PHP Code:
$orders = $db->Execute("select orders_id,order_site from " . TABLE_ORDERS . "
above it add:PHP Code:
<td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_ORDERS_ID; ?></td>
find:PHP Code:
<td class="dataTableHeadingContent" align="center"><?php echo TABLE_HEADING_SITE; ?></td>
above it add:PHP Code:
<td class="dataTableContent" align="right"><?php echo $show_difference . $orders->fields['orders_id']; ?></td>
PHP Code:
<td class="dataTableContent" align="left"><?php echo $orders->fields['order_site']; ?></td>
Thank you so much. Is there any way to add this to the order that gets email to myself telling that there is an order on the site?
Your confirmation emails should be setup as:
Order Confirmation from STORE_NAME
So you need to set STORE_NAME in config_sites for your store:
define('STORE_NAME','mystore1.mydomain.com');
I guess I am lost because I did not intsall the mod
Go to :
includes/config_sites/<store config file>
add this line to that config file:
define('STORE_NAME','<YOUR STORE NAME>');
Submit a test order and see if your email came through as:
Order Confirmation from <YOUR STORE NAME>
I don't *think* that was one of my modifications, but who knows at this point.
Bookmarks