{"action":"opened","issue":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/9563","repository_url":"https://api.github.com/repos/PrestaShop/PrestaShop","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/9563/labels{/name}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/9563/comments","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/9563/events","html_url":"https://github.com/PrestaShop/PrestaShop/issues/9563","id":352947468,"node_id":"MDU6SXNzdWUzNTI5NDc0Njg=","number":9563,"title":"[BOOM-6092] multistore enabling does not generate proper product entries in ps_stock_available for new store","user":{"login":"prestonBot","id":20399011,"node_id":"MDQ6VXNlcjIwMzk5MDEx","avatar_url":"https://avatars1.githubusercontent.com/u/20399011?v=4","gravatar_id":"","url":"https://api.github.com/users/prestonBot","html_url":"https://github.com/prestonBot","followers_url":"https://api.github.com/users/prestonBot/followers","following_url":"https://api.github.com/users/prestonBot/following{/other_user}","gists_url":"https://api.github.com/users/prestonBot/gists{/gist_id}","starred_url":"https://api.github.com/users/prestonBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestonBot/subscriptions","organizations_url":"https://api.github.com/users/prestonBot/orgs","repos_url":"https://api.github.com/users/prestonBot/repos","events_url":"https://api.github.com/users/prestonBot/events{/privacy}","received_events_url":"https://api.github.com/users/prestonBot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-22T13:11:37Z","updated_at":"2018-08-22T13:11:37Z","closed_at":null,"author_association":"COLLABORATOR","body":"\n> This issue has been migrated from the Forge. Read the [original ticket here](http://forge.prestashop.com/browse/BOOM-6092).\n\n- _**Reporter:**_ support@smooth-systems.solutions\n- _**Created at:**_ Wed, 25 Jul 2018 17:47:41 +0200\n\n\n<p>Hi,</p>\n\n<p>I had troubles with my shop after enabling to multistore. I haven't been able to add products to cart since they are out of stock.</p>\n\n<p> </p>\n\n<p>General configuration:</p>\n\n<p> - \"Allow ordering of out-of-stock product: enable\"</p>\n\n<p>On Products the Default option was configured (ps_product.out_of_stock = 2).</p>\n\n<p> </p>\n\n<p>Workaround:</p>\n\n<p>I manually changed the value ps_product.out_of_stock = 1 but that didn't change anything. Products haven't still been able to add to cart or purchase.</p>\n\n<p>Inserting a second entry for each item in the table ps_stock_available enabled the ordering of out of stock products again.</p>\n\n<p> </p>\n\n<p>Here a short select result to demo it, prouct with id 62 is not purchasable, product with id 63 is purchasable:</p>\n\n<p> </p>\n\n<p> </p>\n        \n* How to reproduce the issue ?\n\nN/A\n                    "}}
{"actor":{"display_login":"prestonBot"}}