{"action":"created","issue":{"url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined/issues/8","repository_url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined","labels_url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined/issues/8/comments","events_url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined/issues/8/events","html_url":"https://github.com/mc12345678/Stock_By_Attributes_Combined/issues/8","id":143964550,"number":8,"title":"Out of stock products still selectable on product page","user":{"login":"jeking928","id":8162029,"avatar_url":"https://avatars.githubusercontent.com/u/8162029?v=3","gravatar_id":"","url":"https://api.github.com/users/jeking928","html_url":"https://github.com/jeking928","followers_url":"https://api.github.com/users/jeking928/followers","following_url":"https://api.github.com/users/jeking928/following{/other_user}","gists_url":"https://api.github.com/users/jeking928/gists{/gist_id}","starred_url":"https://api.github.com/users/jeking928/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeking928/subscriptions","organizations_url":"https://api.github.com/users/jeking928/orgs","repos_url":"https://api.github.com/users/jeking928/repos","events_url":"https://api.github.com/users/jeking928/events{/privacy}","received_events_url":"https://api.github.com/users/jeking928/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-28T12:27:46Z","updated_at":"2016-03-28T21:42:16Z","closed_at":null,"body":"With an attribute set at zero quantity, it is still available on the product page. This is true whether Admin>Configure>Dynamic Drop Downs>Show Out of Stock Attributes is set to True or False.\r\n\r\nWhen set to False, there is no indication the attribute is out of stock. However, it cannot be added to the shopping cart. Doing so results in an empty cart.\r\n"},"comment":{"url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined/issues/comments/202591932","html_url":"https://github.com/mc12345678/Stock_By_Attributes_Combined/issues/8#issuecomment-202591932","issue_url":"https://api.github.com/repos/mc12345678/Stock_By_Attributes_Combined/issues/8","id":202591932,"user":{"login":"jeking928","id":8162029,"avatar_url":"https://avatars.githubusercontent.com/u/8162029?v=3","gravatar_id":"","url":"https://api.github.com/users/jeking928","html_url":"https://github.com/jeking928","followers_url":"https://api.github.com/users/jeking928/followers","following_url":"https://api.github.com/users/jeking928/following{/other_user}","gists_url":"https://api.github.com/users/jeking928/gists{/gist_id}","starred_url":"https://api.github.com/users/jeking928/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeking928/subscriptions","organizations_url":"https://api.github.com/users/jeking928/orgs","repos_url":"https://api.github.com/users/jeking928/repos","events_url":"https://api.github.com/users/jeking928/events{/privacy}","received_events_url":"https://api.github.com/users/jeking928/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T21:42:15Z","updated_at":"2016-03-28T21:42:15Z","body":"Very helpful. I did not realize another option type was added. That explains why nothing was being indicated on the product page.\r\n\r\nMy attributes.php does have something below the notifier. This:\r\n\r\n`    // attributes images table\r\n                // START \"Stock by Attributes\" SBA\r\n                if (!defined('SBA_SHOW_IMAGE_ON_PRODUCT_INFO') || SBA_SHOW_IMAGE_ON_PRODUCT_INFO != 'false') {\r\n                  $options_attributes_image[] = trim($tmp_attributes_image) . \"\\n\";\r\n                }\r\n                // END \"Stock by Attributes\" SBA\r\n                $zco_notifier->notify('NOTIFY_ATTRIBUTES_MODULE_OPTION_BUILT', $products_options_names->fields, $options_name, $options_menu, $options_comment, $options_comment_position, $options_html_id, $options_attributes_image);\r\n                //Next Item\r\n                $products_options_names->MoveNext();\r\n              }\r\n              // manage filename uploads\r\n              $_GET['number_of_uploads'] = $number_of_uploads;\r\n              //      zen_draw_hidden_field('number_of_uploads', $_GET['number_of_uploads']);\r\n              zen_draw_hidden_field('number_of_uploads', $number_of_uploads);\r\n            }`\r\n\r\nI don't see any reference to option name type to change.  I can wait until you have time to post the solution so don't feel rushed to explain."}}