-
Notifications
You must be signed in to change notification settings - Fork 1
SIBT workflow
1337 edited this page Aug 10, 2012
·
10 revisions
- Silver button
- Installs only on Shopify, as a "script tag asset"
- Silver button
- Comes with top bar
- Installs only on Shopify, as a snippet (
willet_sibt.liquid)
- Blue button
- Comes with top bar (removable)
- Version bump
- Allows votes with multiple products, aka "WOSIB mode"
- Integrates ask page with vote page
- Installs on Shopify as a snippet (
willet_sibt.liquid) or as a copy-paste JS (SIBT-JS)
- Shu Uemura-specific modifications (only single-product votes, vendor-specific templates, branded emails)
- Single-product votes no longer an option on Shopify shops
- user visits product page. load
sibt.js. -
sibt.jsis deprecated. server redirects request toreal-sibt.js. - does this shop have an account? if not, send null script.
- did this shop uninstall? if yes, send null script.
- send script to browser.
- script loads jquery, colorbox, and other pre-requisites on to the page.
- is there a product on this page? if not, attempt to create a product, and quit the script.
- did the user look at more than two products in this shop? if yes, show button. otherwise, quit the script.
- if client enabled top bar, show it.
- if client enabled bottom popup, show it.
- did the user already create a vote? if yes, swap the "ask friends" button with a "show results" button.
- user clicks on button (on either top bar, bottom popup, or the main button).
- show the ask screen (
ask.html) or the ask page (ask-page.html) depending on client, vendor, and user. - user clicks on either "ask friends" or "post on wall" (or "email", depending on UI configuration).
- a link to the vote is transmitted to the user's wall, their friends' walls, and/or their inboxes.
- user's friends click the link to arrive at
vote.html. - user's friends vote either yes (SIBT), no (SIBT), or a specific product (WOSIB).
- when 6 hours pass, vote completes (
SIBTVoteCompletion).
- Shopify: http://rf.rs/s/shopify/beta
- Shu Uemura: http://rf.rs/s/shuuemura/welcome
- Everyone else: http://rf.rs/s/beta
-
SIBT(App): functionality of Should I Buy This -
SIBTShopify(SIBT, AppShopify): communication, installation, and integration code between Shopify and us -
SIBTInstance: aka "a SIBT vote", anSIBTInstancestores information about the vote, e.g. who started the vote, which product(s) he/she chose, how many votes, etc. -
PartialSIBTInstance(Model): deprecated; originally used to self-expire instances that do not qualify as a full vote (e.g. user did not tell us who he/she is)
-
Open up for another vendor: copy the
/apps/sibt/shuuemurafolder. Change the client's name inviews.py.