Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Did you just dropped the files or did you change code? If you made changes can you please explain what to do to make it work.
I will work when you just drop the files to the right places, after renaming the custom template folder names. However, it is better practice to compare the files on by one with existing files in your installation and merge the changes. All the edits that need to be made are clearly marked with comments by the author of the mod.
Right now I don't have the time to make an update for this mod, since I have about ten other (paid) projects that need to be finished this month ;)
There is one error in the installation pack the file "default_filter.php" in the folder "template file overrides\includes\index_filters\YOUR_TEMPLATE\" should be in "template file overrides\includes\index_filters".
There is no override for this file. If you have not made any changes to this file just overwrite it on your server.
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Yes I did notice that de default_filter.php has to go directly in index-filter folder.
I've got the possibility for configuration. The problem is after installing the mod I get the message 'there are no products in this category' when I enter one of the categories. But I know they are there. Also there is no tool to filter. So now I have to figure out where it goes wrong.
Thanks you for reaction. It would be nice if you ever find some time for looking at this problem.
greetings
How can I get the "Sort By:' items to display in a row rather than a column? They are dropping the item display too far down the page.
Hello, my first post here:-)
I have installed this wonderfull mod. It is exactly wat i was looking for. I Have only one problem, it shows my options in two languages. I use two languages at my site, and like to use three in the end.
I Use a zen cart 151 fresh install, i added COWOA, Cookie_Control (is going to be deleted) super orders 5 final, creinhold_SBA5.1 alpha ect., ultimate seo urls, giftwrap, easy_populate,and catagory dressing.
Can someone help me out?
Thanks in advance and a happy new Year!! (-:
Maybe i'm the first encountering this problem? I have no clou where to begin, because the category id is the same in both languages... enfin, ill try and find a solution.
Products By Attributes with Dynamic Filter on v151
Anyone have both modules working together on 151 as there are a few files which clash?
Products by attributes installed successfully.
Dynamic Filter unsuccessful.
Reason: A number of files are clash when installed together.
The file /includes/functions/functions_general is the first. I believe there are four in total.
A comparison of the two files is below. Any assistance would be greatly appreciated.
FILTER BY ATTRIBUTES CODE (/includes/functions/functions_general)
PHP Code:
function zen_get_all_get_params($exclude_array = '', $search_engine_safe = true) {
if (!is_array($exclude_array)) $exclude_array = array();
$exclude_array = array_merge($exclude_array, array(zen_session_name(), 'main_page', 'error', 'x', 'y'));
$get_url = '';
if (is_array($_GET) && (sizeof($_GET) > 0)) {
reset($_GET);
while (list($key, $value) = each($_GET)) {
if (is_array($value) || in_array($key, $exclude_array)) continue;
if (strlen($value) > 0) {
$get_url .= zen_sanitize_string($key) . '=' . rawurlencode(stripslashes($value)) . '&';
}
}
}
while (strstr($get_url, '&&')) $get_url = str_replace('&&', '&', $get_url);
while (strstr($get_url, '&&')) $get_url = str_replace('&&', '&', $get_url);
return $get_url;
}
DYNAMIC FILTER CODE(/includes/functions/functions_general)
PHP Code:
function zen_get_all_get_params($exclude_array = '', $search_engine_safe = true) {
if (!is_array($exclude_array)) $exclude_array = array();
$get_url = '';
if (is_array($_GET) && (sizeof($_GET) > 0)) {
reset($_GET);
while (list($key, $value) = each($_GET)) {
// bof dynamic filter 1 of 3
if ( (!in_array($key, $exclude_array)) && (strlen($value) > 0 || is_array($value) && array_filter($value) ) && ($key != 'main_page') && ($key != zen_session_name()) && ($key != 'error') && ($key != 'x') && ($key != 'y') ) {
// eof dynamic filter 1 of 3
if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {
// die ('here');
$get_url .= $key . '/' . rawurlencode(stripslashes($value)) . '/';
} else {
// bof dynamic filter 2 of 3
if (is_array($value)) {
foreach($value as $arr){
$get_url .= zen_sanitize_string($key) . '[]=' . rawurlencode(stripslashes($arr)) . '&';
}
} else {
// eof dynamic filter 2 of 3
$get_url .= zen_sanitize_string($key) . '=' . rawurlencode(stripslashes($value)) . '&';
// bof dynamic filter 3 of 3
}
// eof dynamic filter 3 of 3
}
}
}
}
while (strstr($get_url, '&&')) $get_url = str_replace('&&', '&', $get_url);
while (strstr($get_url, '&&')) $get_url = str_replace('&&', '&', $get_url);
return $get_url;
}
I have installed this onto 1.5.1 and love it, works perfect! Only problem is the expand and collapse box feature isn't working at all, all settings are being ignored and is always fully expanded?
Anyone else had the same problem? Anyone able to suggest how to fault find it?
I have been through the docs and checked all the installations files are present and correct.
Thanks
Phil
Phil Rogers
A problem shared is a problem solved.
really could do with some help here, ive checked the html markup to see if there are any template clashes but all looks ok to me.
whats weird is that the link for the expanding etc is in the code but not showing on the page:
<a class="dFilterToggle" href="#">More<img src="includes/templates/mytemplate/images/arrow_more.gif" alt="More" title=" More " width="10" height="10" class="dFilterToggleImg" /></a>
as a test I just took this code and pasted into an EZ page.. guess what still nothing showed on the page?
I have noticed there are two class elements class="dFilterToggle" & class="dFilterToggleImg"
is this normal? so at the moment I am unsure if it is the code above causing the problem, of the js not making the link appear??
Phil Rogers
A problem shared is a problem solved.
Bookmarks