{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/7565","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/7565/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/7565/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/7565/events","html_url":"https://github.com/magento/magento2/issues/7565","id":191664601,"number":7565,"title":"not showing products from frontstore in magento 2 Community Edition","user":{"login":"bojjaiah","id":10813738,"avatar_url":"https://avatars.githubusercontent.com/u/10813738?v=3","gravatar_id":"","url":"https://api.github.com/users/bojjaiah","html_url":"https://github.com/bojjaiah","followers_url":"https://api.github.com/users/bojjaiah/followers","following_url":"https://api.github.com/users/bojjaiah/following{/other_user}","gists_url":"https://api.github.com/users/bojjaiah/gists{/gist_id}","starred_url":"https://api.github.com/users/bojjaiah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojjaiah/subscriptions","organizations_url":"https://api.github.com/users/bojjaiah/orgs","repos_url":"https://api.github.com/users/bojjaiah/repos","events_url":"https://api.github.com/users/bojjaiah/events{/privacy}","received_events_url":"https://api.github.com/users/bojjaiah/received_events","type":"User","site_admin":false},"labels":[{"id":161563561,"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-25T09:59:42Z","updated_at":"2016-11-29T05:47:15Z","closed_at":null,"body":"<!--- Provide a general summary of the issue in the Title above -->\r\n<!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines-->\r\n\r\n### Preconditions\r\n<!--- Provide a more detailed information of environment you use -->\r\n<!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. -->\r\n1. Magento 2.1.0 Community Edition, Windows 8\r\n2. PHP 5.6.8, MySQL 5.6.24\r\n\r\n### Steps to reproduce\r\n<!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant  -->\r\n```\r\n try\r\n            {\r\n\r\n            learningProductProductRepositoryV1Service objSrvc = new learningProductProductRepositoryV1Service();\r\n            objSrvc.Credentials = new System.Net.NetworkCredential(\"democustomer\", \"kujpcuds24jeaio16u9624rjb2pilnw5c3g\");//ay966a9xbvrxcoe2jxpuno85b8wrgxs5rej\r\n\r\n            LearningProductProductRepositoryV1Product_multiCreateRequest objP = new LearningProductProductRepositoryV1Product_multiCreateRequest();\r\n            objP.product = new CatalogDataProductInterface[1];\r\n            objP.product[0] = new CatalogDataProductInterface();\r\n            objP.product[0].name = \"Computer Kit Components 9\";\r\n            //objP.product[0].price = 201.00f;\r\n            //objP.product[0].priceSpecified = true;\r\n            objP.product[0].sku = \"CKC9\";\r\n            objP.product[0].status = 1;\r\n            objP.product[0].statusSpecified = true;\r\n            objP.product[0].visibility = 4;\r\n            objP.product[0].visibilitySpecified = true;\r\n            objP.product[0].weight = 3.00f;\r\n            objP.product[0].weightSpecified = true;\r\n            objP.product[0].typeId = \"bundle\";\r\n            objP.product[0].attributeSetId = 4;\r\n            objP.product[0].attributeSetIdSpecified = true;\r\n            objP.product[0].customAttributes = new FrameworkAttributeInterface[5];\r\n            objP.product[0].customAttributes[0] = new FrameworkAttributeInterface();\r\n            objP.product[0].customAttributes[0].attributeCode = \"price_view\";\r\n            objP.product[0].customAttributes[0].value = \"0\";\r\n\r\n            objP.product[0].customAttributes[1] = new FrameworkAttributeInterface();\r\n            objP.product[0].customAttributes[1].attributeCode = \"category_ids\";\r\n            objP.product[0].customAttributes[1].value = \"9\";\r\n\r\n            objP.product[0].customAttributes[2] = new FrameworkAttributeInterface();\r\n            objP.product[0].customAttributes[2].attributeCode = \"category_ids\";\r\n            objP.product[0].customAttributes[2].value = \"10\";\r\n\r\n            objP.product[0].customAttributes[3] = new FrameworkAttributeInterface();\r\n            objP.product[0].customAttributes[3].attributeCode = \"sku_type\";\r\n            objP.product[0].customAttributes[3].value = \"0\";\r\n\r\n            objP.product[0].customAttributes[4] = new FrameworkAttributeInterface();\r\n            objP.product[0].customAttributes[4].attributeCode = \"tax_class_id\";\r\n            objP.product[0].customAttributes[4].value = \"1\";\r\n\r\n            objP.product[0].extensionAttributes = new CatalogDataProductExtensionInterface();\r\n            objP.product[0].extensionAttributes.stockItem = new CatalogInventoryDataStockItemInterface();\r\n            objP.product[0].extensionAttributes.stockItem.isInStock = true;\r\n            objP.product[0].extensionAttributes.stockItem.manageStock = true;\r\n\r\n            objP.product[0].extensionAttributes.bundleProductOptions = new BundleDataOptionInterface[2];\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0] = new BundleDataOptionInterface();\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].required = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].optionId = 2;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].optionIdSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].position = 2;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].positionSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].requiredSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].type = \"bundle\";\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].title = \"Computer Test Kit\";\r\n\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks = new BundleDataLinkInterface[1];\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0] = new BundleDataLinkInterface();\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].isDefault = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].optionId = 2;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].optionIdSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].position = 0;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].positionSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].qty = 1;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].qtySpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].sku = \"KB\";\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].canChangeQuantity = 0;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[0].productLinks[0].canChangeQuantitySpecified = false;\r\n\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1] = new BundleDataOptionInterface();\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].required = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].optionId = 2;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].optionIdSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].position = 2;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].positionSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].requiredSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].type = \"bundle\";\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].title = \"Computer Test Kit 2\";\r\n\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks = new BundleDataLinkInterface[1];\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0] = new BundleDataLinkInterface();\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].isDefault = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].optionId = 2;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].optionIdSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].position = 1;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].positionSpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].qty = 1;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].qtySpecified = true;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].sku = \"HD\";\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].canChangeQuantity = 0;\r\n            objP.product[0].extensionAttributes.bundleProductOptions[1].productLinks[0].canChangeQuantitySpecified = false;\r\n\r\n            var result = objSrvc.learningProductProductRepositoryV1Product_multiCreate(objP);\r\n\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n\r\n                throw;\r\n            }\r\n```\r\n\r\n\r\n### Expected result\r\n<!--- Tell us what should happen -->\r\n1. I have created products through `API` from` c#.net` and products also created successfully with category ids. But the products are not showing from frontend even though I have cleared cache.\r\n\r\nBut when I open the created product from admin panel and just click on save button it is showing from the front store without modifying anything.\r\n\r\n**I don't know what is the difference or something happening?**\r\n\r\nCategories\r\n\r\nAnd I have passed the 2 category id's which is 9,10 but it is created only 10 which is last one what about another one 9?\r\n\r\n**how can I pass multiple category ids to create multiple categories with the product?**\r\n\r\n**Could you please suggest me how to do this?**\r\n\r\nthread from [magento.stackexchange.com](http://magento.stackexchange.com/questions/147459/not-showing-products-from-frontstore-in-magento-2)\r\n\r\n### Actual result\r\n<!--- Tell us what happens instead -->\r\n1. [Screenshot, logs]\r\n\r\n![ckc](https://cloud.githubusercontent.com/assets/10813738/20621239/a4263fe6-b323-11e6-94b3-1e4b39b33147.PNG)\r\n\r\n\r\n<!--- (This may be platform independent comment) -->\r\n"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/263482423","html_url":"https://github.com/magento/magento2/issues/7565#issuecomment-263482423","issue_url":"https://api.github.com/repos/magento/magento2/issues/7565","id":263482423,"user":{"login":"bojjaiah","id":10813738,"avatar_url":"https://avatars.githubusercontent.com/u/10813738?v=3","gravatar_id":"","url":"https://api.github.com/users/bojjaiah","html_url":"https://github.com/bojjaiah","followers_url":"https://api.github.com/users/bojjaiah/followers","following_url":"https://api.github.com/users/bojjaiah/following{/other_user}","gists_url":"https://api.github.com/users/bojjaiah/gists{/gist_id}","starred_url":"https://api.github.com/users/bojjaiah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bojjaiah/subscriptions","organizations_url":"https://api.github.com/users/bojjaiah/orgs","repos_url":"https://api.github.com/users/bojjaiah/repos","events_url":"https://api.github.com/users/bojjaiah/events{/privacy}","received_events_url":"https://api.github.com/users/bojjaiah/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T05:47:15Z","updated_at":"2016-11-29T05:47:15Z","body":"@veloraven thank you for your reply. I am deployed **Ubuntu 14.04 LTS** and tested I got same as I posted above. please let me know if any info to clarify?"}}
{"actor":{"display_login":"bojjaiah"}}