Skip to content

Instantly share code, notes, and snippets.

@wvega
Created July 25, 2013 21:47
Show Gist options
  • Save wvega/6084075 to your computer and use it in GitHub Desktop.
Save wvega/6084075 to your computer and use it in GitHub Desktop.
  1. (0.5h) Create table for Products, Product Properties, Specific Product Properties (Each Product would be associated with a Listing Category).
  2. (7.5h) Create Product admin screens:
    1. (1.5h) Create Products table.
      1. (1.0h) Create table
      2. (0.5h) Delete Products action.
    2. (1.5h) Create Add/Edit Products action.
      1. Create associated Listing Category id.
    3. (1.0h) Create action to Add/Edit (global) Product Properties.
      1. Associate related Extra Fields to the Product category.
    4. (2.0h) Create action to Add/Edit (specific) Product Properties.
    5. (1.5h) Create action to Add/Edit Product Groups.
  3. (2.5h) Modify AWPCP main page to look like http://swappa.com's main page.
    1. (0.5h) Add hook to alter the output in the main page.
    2. (2.0h) Create template for new main page (Group products using defined Product Groups).
  4. (5.5h) Create layout to show Ad Listings using the layout shown in http://swappa.com/buy/nexus-7-wifi.
    1. (3.0h) Define content placeholder for showing product features, based on Boolean Extra Fields (that are also Product Properties).
      1. Define admin screen to configure rules to show feature icons.
      2. Code check every listing on display and decide which indicators to show.
    2. (2.0h) If viewing listings from one of the Product Groups, show slideshow of Products at the top.
      1. Product Properties can be marked to be shown in the slideshow.
    3. (0.5h) If viewing listings for a single Product show product specifications.
  5. (2.0h) Create layout for the Single Ad page.
    1. Show Buy Now button.
    2. Handle Payment Completed step.
  6. (1.5h) Update PayPal Pro Express Checkout gateway to send payments to two different persons in a single payment.
  7. (1.0h) Add page to go through the Buy process (the page will be an extension of the Show Ad page).
  8. (2.5h) Create Categories API.
    1. http://stackoverflow.com/questions/846201/fast-relational-method-of-storing-tree-data-for-instance-threaded-comments-on-a/846232#846232
  9. (5.0h) Create Extra Fields API.
    1. (2.0h) Create new admin screens to Add, Edit, Delete Extra Fields (will be re-used inside Products admin screens).
    2. (0.5h) Create table to store Extra Fields values.
    3. (1.0h) Migrate existing Extra Fields values from AWPCP Ads table to the new table.
    4. (0.5h) Warn user if an Extra Field with existing values is being deleted.
    5. (1.0h) Code clean up and organisation into the new API methods.
  10. (2.0h) Improve Ad (Listings) API.
    1. (2.0h) Create table to store Ad meta information.

Total: 30 hours.

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