This may not be desirable but there is code or an option (I've seen it on another thread and used to use it myself) that will empty your shopping cart on logout or login. This would be one way of preventing customers from mixing your sites.
Printable View
will it work with zencart version 1.55b ?
any reply will be highly appreciated thanks for your time.
I am trying to multi site add on zencart version 1.55b getting some problems with following files it will disappears side boxes and template wont show the colors.
includes/init_includes/overrides/init_templates.php
includes/classes/category_tree.php
includes/modules/bluemash_w/categories_tabs.php
includes/modules/bluemash_w/featured_products.php
includes/modules/bluemash_w/meta_tags.php
includes/modules/bluemash_w/new_products.php
includes/modules/bluemash_w/specials_index.php
includes/templates/bluemash_w/sideboxes/tpl_categories.php
includes/templates/bluemash_w/sideboxes/tpl_categories.php
where bluemash_w is my template name
looks like other files are ok only these above files have issue or may not compatible.
any help will be highly appreciated thanks in advance.
I am trying to multi site add on zencart version 1.55b getting some problems with following files it will disappears side boxes and template wont show the colors.
includes/init_includes/overrides/init_templates.php
includes/classes/category_tree.php
includes/modules/bluemash_w/categories_tabs.php
includes/modules/bluemash_w/featured_products.php
includes/modules/bluemash_w/meta_tags.php
includes/modules/bluemash_w/new_products.php
includes/modules/bluemash_w/specials_index.php
includes/templates/bluemash_w/sideboxes/tpl_categories.php
includes/templates/bluemash_w/sideboxes/tpl_categories.php
where bluemash_w is my template name
looks like other files are ok only these above files have issue.
any help will be highly appreciated thanks in advance.
hi I just replaced these files did not merge at all can you tell me what are the modifications you done in these files so I will open same files from v1.55b and modify them manually I believe that can help lot thanks for your time.
looks to me some thing wrong with comments can you have look it is from
includes/init_includes/overrides/init_templates.php
/*
* Determine the active template name
*/
/* bof Multi site
$template_dir = "";
$sql = "select template_dir
from " . TABLE_TEMPLATE_SELECT . "
where template_language = 0";
$template_query = $db->Execute($sql);
$template_dir = $template_query->fields['template_dir'];
$sql = "select template_dir
from " . TABLE_TEMPLATE_SELECT . "
where template_language = '" . $_SESSION['languages_id'] . "'";
$template_query = $db->Execute($sql);
if ($template_query->RecordCount() > 0) {
$template_dir = $template_query->fields['template_dir'];
}
eof Multi site */
/**
* The actual template directory to use
*/
hi it is from this file and I believe some thing wrong with comments can you see carefully and guide me thanks
includes/init_includes/overrides/init_templates.php
/*
* Determine the active template name
*/
/* bof Multi site
$template_dir = "";
$sql = "select template_dir
from " . TABLE_TEMPLATE_SELECT . "
where template_language = 0";
$template_query = $db->Execute($sql);
$template_dir = $template_query->fields['template_dir'];
$sql = "select template_dir
from " . TABLE_TEMPLATE_SELECT . "
where template_language = '" . $_SESSION['languages_id'] . "'";
$template_query = $db->Execute($sql);
if ($template_query->RecordCount() > 0) {
$template_dir = $template_query->fields['template_dir'];
}
eof Multi site */
/**
* The actual template directory to use
*/