Guest User

Untitled

a guest
May 29th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.70 KB | None | 0 0
  1. Jared H.
  2. 14:40
  3. Alright gentlement this is how it works:
  4. Home: add product to cart (for later) add all options to Dafs option model stufff in accumera/package, add all to quote
  5. Billing: check if logged in, if not send to package/account::login where a whole bunch of uneeded account crud is done
  6. orderInfomation: figure out all options from option model -> use that to deside if various forms appear, check if LLC, show LLC form if so, assign all to SESSION
  7. shipping: ajax shippingPost, set up all the options, add them all to the cart object. Ajax checkout/multishipping, get the quote. ajax (insert name od address controller I forgot here) get all shipping methods and prices available
  8. they did this to overwrite the need to view the quote from the multi shipping controller which allows you to assign different addresses to each product
  9. they need multishipping on because the options eventually become a part of the quote, and thus in the order review page
  10. Jared H.
  11. 14:43
  12. however if we want to say, get the latest item added to the cart we need to loop through the cart and shipping instead of calling the default getLatestItem (not sure if thats rigtht) on the cart object, since the only thing that exists there is the package init added to the cart
  13. options are not apart of the cart
  14. until the very end at billingAction
  15. I'm going to write the various parts of the multi shipping controller to return JSON instead of ajaxing the entire controller and throwing the div we want in the shipping page
  16. since this is now broken
  17. <--- mind fucked
  18. as of right now, if you wanted to you could checkout the EConomy package and have it sent to your house and the Register Agent Option sent somewhere else
  19. amateur hour X a billion
Add Comment
Please, Sign In to add comment