{"action":"created","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/15463","repository_url":"https://api.github.com/repos/PrestaShop/PrestaShop","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/15463/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/15463/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/15463/events","html_url":"https://github.com/PrestaShop/PrestaShop/issues/15463","id":490658348,"node_id":"MDU6SXNzdWU0OTA2NTgzNDg=","number":15463,"title":"Discount badge is missing on products with attribute","user":{"login":"MathiasReker","id":26626066,"node_id":"MDQ6VXNlcjI2NjI2MDY2","avatar_url":"https://avatars3.githubusercontent.com/u/26626066?v=4","gravatar_id":"","url":"https://api.github.com/users/MathiasReker","html_url":"https://github.com/MathiasReker","followers_url":"https://api.github.com/users/MathiasReker/followers","following_url":"https://api.github.com/users/MathiasReker/following{/other_user}","gists_url":"https://api.github.com/users/MathiasReker/gists{/gist_id}","starred_url":"https://api.github.com/users/MathiasReker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathiasReker/subscriptions","organizations_url":"https://api.github.com/users/MathiasReker/orgs","repos_url":"https://api.github.com/users/MathiasReker/repos","events_url":"https://api.github.com/users/MathiasReker/events{/privacy}","received_events_url":"https://api.github.com/users/MathiasReker/received_events","type":"User","site_admin":false},"labels":[{"id":1018580400,"node_id":"MDU6TGFiZWwxMDE4NTgwNDAw","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Combinations","name":"Combinations","color":"e587b8","default":false},{"id":1018086170,"node_id":"MDU6TGFiZWwxMDE4MDg2MTcw","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Discounts","name":"Discounts","color":"ce4a50","default":false},{"id":19737371,"node_id":"MDU6TGFiZWwxOTczNzM3MQ==","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Improvement","name":"Improvement","color":"d4c5f9","default":false},{"id":1018078205,"node_id":"MDU6TGFiZWwxMDE4MDc4MjA1","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/Products","name":"Products","color":"ce4a50","default":false},{"id":984888281,"node_id":"MDU6TGFiZWw5ODQ4ODgyODE=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/TBS","name":"TBS","color":"ff8800","default":false},{"id":327062909,"node_id":"MDU6TGFiZWwzMjcwNjI5MDk=","url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels/waiting%20for%20PM","name":"waiting for PM","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-09-07T17:09:48Z","updated_at":"2019-09-09T11:06:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Describe the bug**\r\nDiscount label is missing on products with attributes.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. BO -> Add product with attributes. Add discounts for eg. 10 pcs.\r\n2. FO -> Add 5 products per attribute.  Lets say you have 3 attributes, then you should have 15 products in cart. As the discount is for 10+ products you get discount on all 15 products. But the label with discount is missing.\r\n3. The label only show if you add all product in same attribute.\r\n\r\nThis is a regression from Prestashop v. 1.6.1.x\r\n\r\n**Screenshots**\r\nPlease see this video: https://reker.dk/badge.webm\r\n\r\n**Additional information**\r\nPrestaShop version: 1.7.6.1\r\nPHP version: 7.2\r\n"},"comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments/529419948","html_url":"https://github.com/PrestaShop/PrestaShop/issues/15463#issuecomment-529419948","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/15463","id":529419948,"node_id":"MDEyOklzc3VlQ29tbWVudDUyOTQxOTk0OA==","user":{"login":"MathiasReker","id":26626066,"node_id":"MDQ6VXNlcjI2NjI2MDY2","avatar_url":"https://avatars3.githubusercontent.com/u/26626066?v=4","gravatar_id":"","url":"https://api.github.com/users/MathiasReker","html_url":"https://github.com/MathiasReker","followers_url":"https://api.github.com/users/MathiasReker/followers","following_url":"https://api.github.com/users/MathiasReker/following{/other_user}","gists_url":"https://api.github.com/users/MathiasReker/gists{/gist_id}","starred_url":"https://api.github.com/users/MathiasReker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathiasReker/subscriptions","organizations_url":"https://api.github.com/users/MathiasReker/orgs","repos_url":"https://api.github.com/users/MathiasReker/repos","events_url":"https://api.github.com/users/MathiasReker/events{/privacy}","received_events_url":"https://api.github.com/users/MathiasReker/received_events","type":"User","site_admin":false},"created_at":"2019-09-09T11:06:57Z","updated_at":"2019-09-09T11:06:57Z","author_association":"CONTRIBUTOR","body":"Thanks. The discount is already applied to the price so the discount label should be applied too. :)"}}
{"actor":{"display_login":"MathiasReker"}}