function exclude_category($category) {
switch($category) {
case 107: //a category with only products under it
return true;
}
return false;
}
function exclude_category($category) {
switch($category) {
case 107: //a category with only products under it
return true;
}
return false;
}
This works, but requires ZC 1.3.5 or better.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Also check "linked products" problem described in the help.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
thats why then - not on 1.3.5, is there anything i can do to get round this, whats the difference here between 1.3.5 and earlier?
Please look in the downloads area at old versions. One is marked "1.3.5 and better only." Use the one before that.
scott
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Tried the linke dproduct query also, it does return the correct master id.
No, it is needed. That's why it's there.
The difference is in 1.3.5, the cart started adding category to a key
data structure. You need to install this in your pre 1.3.5 env as long as it's > 1.3.0
If it's less than 1.3.0 this mod will prob. not work - it's a 1.3 mod.
Scott
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
ahh, well its less than 1.30! and the exisiting shopping_cart.php is totally different to the one in the download...
Last edited by stehodges; 3 May 2007 at 03:45 PM.
Take a look at the title of this thread. :)
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks