Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Penguin/master - Lindsey & Alice #2

Open
wants to merge 121 commits into
base: penguin/master
Choose a base branch
from

Conversation

a-lmx
Copy link
Collaborator

@a-lmx a-lmx commented Aug 21, 2015

@lindseyreno & I incorporated PenguinShipper into CosMade, this bEtsy app. We added address attributes to the User (merchant) model and weight/dimension attributes to the Product model to facilitate this.

CosMade lives here: https://intense-garden-9830.herokuapp.com/

PenguinShipper lives here (but there's nothing to see): https://whispering-shore-8365.herokuapp.com/

There were 14 broken rspec tests when we inherited bEtsy. We commented some out (in the product model), and left the rest.

We added a shipping stage in the order checkout flow between entering payment details and finalizing the order. Here, the buyer was given shipping options (from an API call to PenguinShipper), had to choose an option before they could continue, and was shown the shipping price on the confirmation page. We saved the selected shipping service, and cost in the order model, and sent another API request back to PenguinShipper to log our choice.

The only refactoring we did on the original bEtsy code was to incorporate FactoryGirl into some of the specs. We could still refactor some of our additions. The finalize method in the OrdersController is doing too much work at present.

🐧

lindseyreno and others added 30 commits August 17, 2015 15:27
lindseyreno and others added 30 commits August 20, 2015 18:02
Added a continue shopping link to cart page that returns to root_path
Changed radio buttons to regular buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants