WHERE cp.`id_category` = ' . (int) $this->id .' AND p.price <> 0'.
WHERE product_shop.`id_shop` = ' . (int) $context->shop->id . 'AND cp.`id_category` = ' . (int) $this->id. .' AND p.price <> 0'.