{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/6816","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/6816/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/6816/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/6816/events","html_url":"https://github.com/magento/magento2/issues/6816","id":180250929,"number":6816,"title":"Grouped products's simple products exempt from shopping cart rule.","user":{"login":"apurv-anand","id":17824537,"avatar_url":"https://avatars.githubusercontent.com/u/17824537?v=3","gravatar_id":"","url":"https://api.github.com/users/apurv-anand","html_url":"https://github.com/apurv-anand","followers_url":"https://api.github.com/users/apurv-anand/followers","following_url":"https://api.github.com/users/apurv-anand/following{/other_user}","gists_url":"https://api.github.com/users/apurv-anand/gists{/gist_id}","starred_url":"https://api.github.com/users/apurv-anand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apurv-anand/subscriptions","organizations_url":"https://api.github.com/users/apurv-anand/orgs","repos_url":"https://api.github.com/users/apurv-anand/repos","events_url":"https://api.github.com/users/apurv-anand/events{/privacy}","received_events_url":"https://api.github.com/users/apurv-anand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/2.1.x","name":"2.1.x","color":"fbca04"},{"url":"https://api.github.com/repos/magento/magento2/labels/acknowledged","name":"acknowledged","color":"02d7e1"},{"url":"https://api.github.com/repos/magento/magento2/labels/bug%20report","name":"bug report","color":"d93f0b"},{"url":"https://api.github.com/repos/magento/magento2/labels/Catalog","name":"Catalog","color":"1d76db"},{"url":"https://api.github.com/repos/magento/magento2/labels/Price/Tax","name":"Price/Tax","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-30T08:43:00Z","updated_at":"2016-10-26T22:20:40Z","closed_at":null,"body":"When a simple product (SP) associated to a grouped product is added to the cart, the cart price rules are not getting applied to them. If an individual SP is added to the cart, the rule works fine.\r\n\r\nHere is my setup: Grouped Products have associated Simple Products. Both (GP and SPs) of them are in the same category. GPs are visible: Catalog/Search SPs are not visible individually. Magento 2.1.1\r\n\r\nMy rules are: Condition: If ALL of these conditions are TRUE : If an item is FOUND in the cart with ALL of these conditions true: Category is not one of ...\r\n\r\nAction: If ALL of these conditions are TRUE : Category is not one of ...\r\n\r\nA SP which is setup individually and is visible gets the rule fine.\r\n\r\nI would not like the SPs associated to GPs to be visible in any way.\r\n\r\nSteps:\r\n- Setup M 2.1.1\r\n- Create grouped products.\r\n- Create simple products.\r\n- Associate few simple products with GP.\r\n- Set these SPs that are associated to GP as \"not visible individually\"\r\n- Move them the products to categories. GPs and associated SPs are in same category.\r\n- Create a cart price rule.\r\n- Set a condition to exclude the categories in which GPs and associated SPs are available.\r\n[Condition: If ALL of these conditions are TRUE : If an item is FOUND in the cart with ALL of these conditions true: Category is not one of ...\r\nAction: If ALL of these conditions are TRUE : Category is not one of ...\r\n]\r\n- Add products to cart, apply the coupon.\r\n\r\n- GPs with associated SPs set to invisible wont get the rule even if they should.\r\n- SPs which are individual and set to be visible (catalog / search) would get the rule.\r\n\r\nCurrent: Cart rules do not apply to products set to not visible individually.\r\n\r\nExpected: Rules should apply to anything in the cart that fulfills the condition / action. Should not be dependent on their visibility."},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/256494487","html_url":"https://github.com/magento/magento2/issues/6816#issuecomment-256494487","issue_url":"https://api.github.com/repos/magento/magento2/issues/6816","id":256494487,"user":{"login":"dthampy","id":19805283,"avatar_url":"https://avatars.githubusercontent.com/u/19805283?v=3","gravatar_id":"","url":"https://api.github.com/users/dthampy","html_url":"https://github.com/dthampy","followers_url":"https://api.github.com/users/dthampy/followers","following_url":"https://api.github.com/users/dthampy/following{/other_user}","gists_url":"https://api.github.com/users/dthampy/gists{/gist_id}","starred_url":"https://api.github.com/users/dthampy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dthampy/subscriptions","organizations_url":"https://api.github.com/users/dthampy/orgs","repos_url":"https://api.github.com/users/dthampy/repos","events_url":"https://api.github.com/users/dthampy/events{/privacy}","received_events_url":"https://api.github.com/users/dthampy/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T22:20:40Z","updated_at":"2016-10-26T22:20:40Z","body":"internal jira ticket MAGETWO-60176 is created to track this issue. "}}
{"actor":{"display_login":"dthampy"}}