{"action":"created","issue":{"url":"https://api.github.com/repos/cubecart/v6/issues/440","labels_url":"https://api.github.com/repos/cubecart/v6/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/cubecart/v6/issues/440/comments","events_url":"https://api.github.com/repos/cubecart/v6/issues/440/events","html_url":"https://github.com/cubecart/v6/issues/440","id":65589439,"number":440,"title":"Selected Options Not Showing","user":{"login":"bhsmither","id":4073092,"avatar_url":"https://avatars.githubusercontent.com/u/4073092?v=3","gravatar_id":"","url":"https://api.github.com/users/bhsmither","html_url":"https://github.com/bhsmither","followers_url":"https://api.github.com/users/bhsmither/followers","following_url":"https://api.github.com/users/bhsmither/following{/other_user}","gists_url":"https://api.github.com/users/bhsmither/gists{/gist_id}","starred_url":"https://api.github.com/users/bhsmither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhsmither/subscriptions","organizations_url":"https://api.github.com/users/bhsmither/orgs","repos_url":"https://api.github.com/users/bhsmither/repos","events_url":"https://api.github.com/users/bhsmither/events{/privacy}","received_events_url":"https://api.github.com/users/bhsmither/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cubecart/v6/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"abrookbanks","id":4520803,"avatar_url":"https://avatars.githubusercontent.com/u/4520803?v=3","gravatar_id":"","url":"https://api.github.com/users/abrookbanks","html_url":"https://github.com/abrookbanks","followers_url":"https://api.github.com/users/abrookbanks/followers","following_url":"https://api.github.com/users/abrookbanks/following{/other_user}","gists_url":"https://api.github.com/users/abrookbanks/gists{/gist_id}","starred_url":"https://api.github.com/users/abrookbanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrookbanks/subscriptions","organizations_url":"https://api.github.com/users/abrookbanks/orgs","repos_url":"https://api.github.com/users/abrookbanks/repos","events_url":"https://api.github.com/users/abrookbanks/events{/privacy}","received_events_url":"https://api.github.com/users/abrookbanks/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cubecart/v6/milestones/12","html_url":"https://github.com/cubecart/v6/milestones/6.0.3","labels_url":"https://api.github.com/repos/cubecart/v6/milestones/12/labels","id":1036265,"number":12,"title":"6.0.3","description":"","creator":{"login":"abrookbanks","id":4520803,"avatar_url":"https://avatars.githubusercontent.com/u/4520803?v=3","gravatar_id":"","url":"https://api.github.com/users/abrookbanks","html_url":"https://github.com/abrookbanks","followers_url":"https://api.github.com/users/abrookbanks/followers","following_url":"https://api.github.com/users/abrookbanks/following{/other_user}","gists_url":"https://api.github.com/users/abrookbanks/gists{/gist_id}","starred_url":"https://api.github.com/users/abrookbanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrookbanks/subscriptions","organizations_url":"https://api.github.com/users/abrookbanks/orgs","repos_url":"https://api.github.com/users/abrookbanks/repos","events_url":"https://api.github.com/users/abrookbanks/events{/privacy}","received_events_url":"https://api.github.com/users/abrookbanks/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":48,"state":"open","created_at":"2015-03-24T13:27:47Z","updated_at":"2015-04-21T10:08:25Z","due_on":"2015-04-29T23:00:00Z","closed_at":null},"comments":14,"created_at":"2015-04-01T02:46:15Z","updated_at":"2015-04-21T10:08:25Z","closed_at":"2015-04-21T10:08:25Z","body":"See:\r\nhttps://forums.cubecart.com/topic/49477-issue-with-order-printout-missing-options/\r\n\r\nI am really not liking lines 406-415 (Catalogue->displayProductOptions).\r\n\r\nThe `$selected_options_array` is (option_id => assign_id) -- actually, I think the assign_id alone should be sufficient, but, whatever. The logic is using the same (somewhat misnamed) variables at multiple places in ways I have not seen before.\r\n\r\nAnyway, 'selected' in $option_list is null because `$selected[$value['assign_id']]` (at line 445) is not set. Probably because `$selected[$value['assign_id']]` is using the wrong number for the key.\r\n\r\nOr it could be 406-415 isn't building `$selected` as thought.\r\n"},"comment":{"url":"https://api.github.com/repos/cubecart/v6/issues/comments/94729133","html_url":"https://github.com/cubecart/v6/issues/440#issuecomment-94729133","issue_url":"https://api.github.com/repos/cubecart/v6/issues/440","id":94729133,"user":{"login":"abrookbanks","id":4520803,"avatar_url":"https://avatars.githubusercontent.com/u/4520803?v=3","gravatar_id":"","url":"https://api.github.com/users/abrookbanks","html_url":"https://github.com/abrookbanks","followers_url":"https://api.github.com/users/abrookbanks/followers","following_url":"https://api.github.com/users/abrookbanks/following{/other_user}","gists_url":"https://api.github.com/users/abrookbanks/gists{/gist_id}","starred_url":"https://api.github.com/users/abrookbanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrookbanks/subscriptions","organizations_url":"https://api.github.com/users/abrookbanks/orgs","repos_url":"https://api.github.com/users/abrookbanks/repos","events_url":"https://api.github.com/users/abrookbanks/events{/privacy}","received_events_url":"https://api.github.com/users/abrookbanks/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T10:08:25Z","updated_at":"2015-04-21T10:08:25Z","body":"All seems to be working now: http://static.cubecart.com/github-issue-440-savingoptions.mp4"}}