{"action":"created","issue":{"url":"https://api.github.com/repos/hasgeek/boxoffice/issues/114","repository_url":"https://api.github.com/repos/hasgeek/boxoffice","labels_url":"https://api.github.com/repos/hasgeek/boxoffice/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/hasgeek/boxoffice/issues/114/comments","events_url":"https://api.github.com/repos/hasgeek/boxoffice/issues/114/events","html_url":"https://github.com/hasgeek/boxoffice/issues/114","id":185380739,"number":114,"title":"Add support to upsell","user":{"login":"shreyas-satish","id":380688,"avatar_url":"https://avatars.githubusercontent.com/u/380688?v=3","gravatar_id":"","url":"https://api.github.com/users/shreyas-satish","html_url":"https://github.com/shreyas-satish","followers_url":"https://api.github.com/users/shreyas-satish/followers","following_url":"https://api.github.com/users/shreyas-satish/following{/other_user}","gists_url":"https://api.github.com/users/shreyas-satish/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyas-satish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyas-satish/subscriptions","organizations_url":"https://api.github.com/users/shreyas-satish/orgs","repos_url":"https://api.github.com/users/shreyas-satish/repos","events_url":"https://api.github.com/users/shreyas-satish/events{/privacy}","received_events_url":"https://api.github.com/users/shreyas-satish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-26T12:34:57Z","updated_at":"2016-11-30T07:31:48Z","closed_at":null,"body":"When a buyer adds items to their cart, there should be a way to recommend other items as part of an upsell offer.\n\nThis can be implemented with an `UpsellOffer` model, with the following fields: `id`, `name`, `title`, `item_id`, `upsell_item_id`, `created_at`, `updated_at`.\n\nSo, given one or multiple `item_id`s, the items to be recommended can determined from the above model.\n\nAdditionally, I propose to add a `upsell_offer_id` foreign key reference to `LineItem`, which will help measure what upsell offer worked, and to what extent.\n"},"comment":{"url":"https://api.github.com/repos/hasgeek/boxoffice/issues/comments/263803173","html_url":"https://github.com/hasgeek/boxoffice/issues/114#issuecomment-263803173","issue_url":"https://api.github.com/repos/hasgeek/boxoffice/issues/114","id":263803173,"user":{"login":"shreyas-satish","id":380688,"avatar_url":"https://avatars.githubusercontent.com/u/380688?v=3","gravatar_id":"","url":"https://api.github.com/users/shreyas-satish","html_url":"https://github.com/shreyas-satish","followers_url":"https://api.github.com/users/shreyas-satish/followers","following_url":"https://api.github.com/users/shreyas-satish/following{/other_user}","gists_url":"https://api.github.com/users/shreyas-satish/gists{/gist_id}","starred_url":"https://api.github.com/users/shreyas-satish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreyas-satish/subscriptions","organizations_url":"https://api.github.com/users/shreyas-satish/orgs","repos_url":"https://api.github.com/users/shreyas-satish/repos","events_url":"https://api.github.com/users/shreyas-satish/events{/privacy}","received_events_url":"https://api.github.com/users/shreyas-satish/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T07:31:48Z","updated_at":"2016-11-30T07:31:48Z","body":"What if the seller wants to provide a discount if the buyer picks one of the items listed in the upsell offer? The current discounting logic does not consider combination discounts i.e a discount which is applied when a certain set of items are bought together (Eg: Conference ticket + T-shirt). This should be fixed while the upsell feature is being implemented."}}
{"actor":{"display_login":"shreyas-satish"}}