{"action":"opened","issue":{"url":"https://api.github.com/repos/craftcms/commerce/issues/209","repository_url":"https://api.github.com/repos/craftcms/commerce","labels_url":"https://api.github.com/repos/craftcms/commerce/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/craftcms/commerce/issues/209/comments","events_url":"https://api.github.com/repos/craftcms/commerce/issues/209/events","html_url":"https://github.com/craftcms/commerce/issues/209","id":309477516,"number":209,"title":"Make Live Preview work with Commerce Variants","user":{"login":"angrybrad","id":61869,"avatar_url":"https://avatars1.githubusercontent.com/u/61869?v=4","gravatar_id":"","url":"https://api.github.com/users/angrybrad","html_url":"https://github.com/angrybrad","followers_url":"https://api.github.com/users/angrybrad/followers","following_url":"https://api.github.com/users/angrybrad/following{/other_user}","gists_url":"https://api.github.com/users/angrybrad/gists{/gist_id}","starred_url":"https://api.github.com/users/angrybrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angrybrad/subscriptions","organizations_url":"https://api.github.com/users/angrybrad/orgs","repos_url":"https://api.github.com/users/angrybrad/repos","events_url":"https://api.github.com/users/angrybrad/events{/privacy}","received_events_url":"https://api.github.com/users/angrybrad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T18:21:49Z","updated_at":"2018-03-28T18:21:49Z","closed_at":null,"author_association":"OWNER","body":"> Created by: Gary Pearman ([gpearman@gmail.com](gpearman@gmail.com)) on 2016/07/18 11:49:43 +0000\nVotes at time of UserVoice import: 3\n\n------\nI know this is a tricky one, as I've tried to hack the core to make this happen - definitely not a one liner.\n\nThe issue I'm having is that Live Preview doesn't show any variant fields when used in Commerce.\n\nAlso, the way I'm using variants allows different option entries on different variants, which are loaded by AJAX in the front end when a variant is selected. Meaning even if variant fields were shown, changing them in live preview wouldn't have any effect, as the AJAX call would load the old (previously saved values).\n\nI'd love for this to be implemented as part of the core of Commerce, but I think it's going to be a PITA (hence why I think it's been left out in the first place)."}}
{"actor":{"display_login":"angrybrad"}}