function exclude_category($category) {
switch($category) {
case 107: //a category with only products under it
return true;
}
return false;
}
Printable View
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.
Also check "linked products" problem described in the help.
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
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
ahh, well its less than 1.30! and the exisiting shopping_cart.php is totally different to the one in the download...
Take a look at the title of this thread. :)