Skip to content

Instantly share code, notes, and snippets.

@kexline4710
Last active August 29, 2015 13:58
Show Gist options
  • Save kexline4710/10304392 to your computer and use it in GitHub Desktop.
Save kexline4710/10304392 to your computer and use it in GitHub Desktop.

Select Order Purchasing Flow

SHOW/UPDATE PAGE

Technical Info Needed

  • (TBD)

To Do

  • Create basic wireframe for page with div set aside for upsell items (include link back to menu page)
  • Display relevenat item's information (name, vendor, description, dietary restrictions)
  • Stub out basic form for inventory item (to go to cart/order?)
  • Display item's options in checkbox as form
  • Display item's options pricing in the form
  • Include special instructions input
  • Handle logic/display of item pricing with Account Tier cases
  • Handle logic/dispay of price with available subsidy value applied
  • Connect inventory item's image to page
  • Connect "Buy Now" button to add item to cart functionality

UPSELL BAR

Technical Info Needed

  • (TBD)

To Do

  • Add tagline that displays sentence with vendor and current item
  • Create wireframe for four add-on items (using partial for individual items)
  • Create logic to shuffle/sample/extract the images to be displayed
  • Display item information (name, description, dietary restrictions)
  • Handle logic/display of item pricing with Account Tier cases
  • Handle logic/display of iem price with available subsidy value applied
  • Display message?????? (mystery text)
  • Connect add functionality to cart

CHECKOUT PAGE

Technical Info Needed

  • (TBD)

To Do

  • Create wireframe for payment/delivery/pickup info
  • Pull in user braintree payment method information and make payment method a dropdown selection
  • Add ability to add a new card
  • Display address of select event's building
  • Create Pickup location dropdown
  • Create wireframe for cart items
  • Display cart item information (name, vendor, dietary restrictions, options, special instructions, empty links)
  • Display item's default image on the page
  • Connect edit link to an update page
  • Create delete functionality for remove link
  • Display options pricing
  • Display overall item price
  • Create wireframe for payment details
  • Handle logic/display of available subsidy remaining
  • Link continue shopping to menu page
  • Display subtotal & delivery
  • Create gratuity dropdown and calculate/display tax based on selection
  • Display amount of subsidy paid out including company name
  • Display total
  • Connect the place order button to the select order model

HEADER

Technical Info Needed

  • SelectEvent delivery date
  • SelectEvent delivery time range based on delivery_time
  • SelectEvent ordering_window_end_time
  • User's MyFooda information
  • Number of items currently in User's cart

To Do

  • Create wireframe with logo, delivery date, countdown space, user menu spcae, checkout info space)
  • Display delivery information
  • Implemenet JQuery countdown plug-in
  • Connect checkout link with display reflective of number of cart items
  • User dropdown menu ???

MENU PAGE (HOLY CRAP)

Technical Info Needed

OVERALL PAGE STRUCTURE

  • User's SelectOrderItems from most recent SelectEvent for the Vendor (see specific items below)
  • Most ordered InventoryItem for each Vendor on SelectEvent that's a SelectMenuItem (may be 2 ways to get info)
  • 3 highlighted items (previously ordered or top selling) to be displayed on top row
  • Items will not be repeated on the page
  • Highlighted items will be weighted towards the top (*may be out of scope)

EACH ITEM

  • InventoryItem details for each displayed SelectMenuItem
  • InventoryItem sell price
  • InventoryItem sell price based on AccountTier
  • Previous special instructions and options selected from User's previous SelectOrder if item is highlighted as "Last time you Ordered"
  • Whether associated InventoryItem is a signature_item (will affect layout)

To Do

  • Wireframe basic div/image sizes (Top div w/ nav/filters, search, countdown)
  • Subsidy discount available for Company
  • Wireframe restaurant nav bar
  • Wire frame filter nav bar
  • Search bar
  • Create fixed div with countdown (webrmedia?)

(Suggestion div)

  • Display previously ordered info
  • Create a universal basic item partial (with add/view buttons)
  • Display two encouraged items???
  • Display item information (name, restaurant, dietary restrictions)

(Remaining Area)

  • Create wireframe for remaining area

  • Create signature item partial

  • Extract Signature item information

  • Apply regular pricing to items on page

  • Apply available subsidy pricing to items on page

  • Implement searching capability

  • Implement filtering capability

  • Implement pagination capability

  • Connect view button to item page

  • Have buy now button add item to cart and direct to checkout page

  • Handle logic to ensure items are not repeated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment