Quote Originally Posted by GraniteMan44 View Post
I would like to do what the original poster asked. If I want to use "per item" on more than one category, do I have to duplicate the

if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','17') > 0)) {
$this->enabled = false;


for each category?

Or can I list the others within the same line as the '17' ?

example: 'master_categories_id','17','18', '20')


Thank you.

G
You would use the same concepts of the original post, but you need to change the testing method to look at which master_categories_id values are in the cart ...

A little more expanded definition on this would help ...

Are you needing if the cart contains products from ONLY these categories vs the cart contains products from any of these categories ...