Originally Posted by
Ajeh
What happens if you add the line in
RED:
Code:
$chk_prod_111 = $_SESSION['cart']->in_cart_check('products_id','111');
$chk_prod_111 += $_SESSION['cart']->in_cart_check('products_id','136');
Hi Ajeh,
If I want to add one more product (id 44) to this rule, can I add one more line like below?
Code:
$chk_prod_111 = $_SESSION['cart']->in_cart_check('products_id','111');
$chk_prod_111 += $_SESSION['cart']->in_cart_check('products_id','136');
$chk_prod_111 += $_SESSION['cart']->in_cart_check('products_id','44');
Bookmarks