jorzech Posted January 11, 2019 Share Posted January 11, 2019 Hi Only 91 of my ~5750 products are showing in my backoffice product catalog which is bad, because i cant edit any of my products. Can anyone help me? i dont know where to search for the faults and debug does not give any errors. Thanks Link to comment Share on other sites More sharing options...
jorzech Posted January 11, 2019 Author Share Posted January 11, 2019 i have found the issue, but dont know how to resolve it. The products are only from one Category, because the SQL inquiry says this: "SELECT SQL_CALC_FOUND_ROWS p.`id_product` AS `id_product`, p.`reference` AS `reference`, p.`price` AS `price`, p.`id_shop_default` AS `id_shop_default`, p.`is_virtual` AS `is_virtual`, pl.`name` AS `name`, pl.`link_rewrite` AS `link_rewrite`, sa.`active` AS `active`, shop.`name` AS `shopname`, image_shop.`id_image` AS `id_image`, cl.`name` AS `name_category`, 0 AS `price_final`, pd.`nb_downloadable` AS `nb_downloadable`, sav.`quantity` AS `sav_quantity`, IF(sav.`quantity`<=0, 1, 0) AS `badge_danger`, cp.`position` AS `position` FROM `b8f83_product` p LEFT JOIN `b8f83_product_lang` pl ON (pl.`id_product` = p.`id_product` AND pl.`id_lang` = 2 AND pl.`id_shop` = 1) LEFT JOIN `b8f83_stock_available` sav ON (sav.`id_product` = p.`id_product` AND sav.`id_product_attribute` = 0 AND sav.id_shop = 1 AND sav.id_shop_group = 0 ) JOIN `b8f83_product_shop` sa ON (p.`id_product` = sa.`id_product` AND sa.id_shop = 1) LEFT JOIN `b8f83_category_lang` cl ON (sa.`id_category_default` = cl.`id_category` AND cl.`id_lang` = 2 AND cl.id_shop = 1) LEFT JOIN `b8f83_category` c ON (c.`id_category` = cl.`id_category`) LEFT JOIN `b8f83_shop` shop ON (shop.id_shop = 1) LEFT JOIN `b8f83_image_shop` image_shop ON (image_shop.`id_product` = p.`id_product` AND image_shop.`cover` = 1 AND image_shop.id_shop = 1) LEFT JOIN `b8f83_image` i ON (i.`id_image` = image_shop.`id_image`) LEFT JOIN `b8f83_product_download` pd ON (pd.`id_product` = p.`id_product`) INNER JOIN `b8f83_category_product` cp ON (cp.`id_product` = p.`id_product` AND cp.`id_category` = 90210) WHERE (1 AND state = 1) ORDER BY `id_product` asc LIMIT 0, 100 ;" So only products from the 90210 category get displayed... dont know how to fix, when i remove "AND cp.`id_category` = 90210" i get error messages i have found the issue, but dont know how to resolve it. The products are only from one Category, because the SQL inquiry says this: "SELECT SQL_CALC_FOUND_ROWS p.`id_product` AS `id_product`, p.`reference` AS `reference`, p.`price` AS `price`, p.`id_shop_default` AS `id_shop_default`, p.`is_virtual` AS `is_virtual`, pl.`name` AS `name`, pl.`link_rewrite` AS `link_rewrite`, sa.`active` AS `active`, shop.`name` AS `shopname`, image_shop.`id_image` AS `id_image`, cl.`name` AS `name_category`, 0 AS `price_final`, pd.`nb_downloadable` AS `nb_downloadable`, sav.`quantity` AS `sav_quantity`, IF(sav.`quantity`<=0, 1, 0) AS `badge_danger`, cp.`position` AS `position` FROM `b8f83_product` p LEFT JOIN `b8f83_product_lang` pl ON (pl.`id_product` = p.`id_product` AND pl.`id_lang` = 2 AND pl.`id_shop` = 1) LEFT JOIN `b8f83_stock_available` sav ON (sav.`id_product` = p.`id_product` AND sav.`id_product_attribute` = 0 AND sav.id_shop = 1 AND sav.id_shop_group = 0 ) JOIN `b8f83_product_shop` sa ON (p.`id_product` = sa.`id_product` AND sa.id_shop = 1) LEFT JOIN `b8f83_category_lang` cl ON (sa.`id_category_default` = cl.`id_category` AND cl.`id_lang` = 2 AND cl.id_shop = 1) LEFT JOIN `b8f83_category` c ON (c.`id_category` = cl.`id_category`) LEFT JOIN `b8f83_shop` shop ON (shop.id_shop = 1) LEFT JOIN `b8f83_image_shop` image_shop ON (image_shop.`id_product` = p.`id_product` AND image_shop.`cover` = 1 AND image_shop.id_shop = 1) LEFT JOIN `b8f83_image` i ON (i.`id_image` = image_shop.`id_image`) LEFT JOIN `b8f83_product_download` pd ON (pd.`id_product` = p.`id_product`) INNER JOIN `b8f83_category_product` cp ON (cp.`id_product` = p.`id_product` AND cp.`id_category` = 90210) WHERE (1 AND state = 1) ORDER BY `id_product` asc LIMIT 0, 100 ;" So only products from the 90210 category get displayed... dont know how to fix, when i remove "AND cp.`id_category` = 90210" i get error messages Link to comment Share on other sites More sharing options...
NemoPS Posted January 13, 2019 Share Posted January 13, 2019 Can you take a screenshot of the catalog in the BO? Sounds like you might have a category filter active in the top left Link to comment Share on other sites More sharing options...
jorzech Posted January 17, 2019 Author Share Posted January 17, 2019 God yes it was the category filter... the design is terrible i have about 7 Category stages and one of the deepest was activated... to bad it doesnt indicate that something is filtering 1 Link to comment Share on other sites More sharing options...
Mr. Trice Posted May 6, 2021 Share Posted May 6, 2021 Yes. is the filter stuff. happened to me too. but have resolved it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now