In my observer, i need to load my selected category id's & selected website,


$category_products  = Mage::getModel('catalog/category')
    ->addAttributeToFilter('category_id', array('in' => array('680','894','895')))
   ->setWebsiteId(2);               // load website id  

If i compare with my cart,

$cart_qty = (int) Mage::getModel('checkout/cart')->getQuote()->getItemQty(); //get cart in observer

observer not triggered.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.