Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Jared H.
- 14:40
- Alright gentlement this is how it works:
- Home: add product to cart (for later) add all options to Dafs option model stufff in accumera/package, add all to quote
- Billing: check if logged in, if not send to package/account::login where a whole bunch of uneeded account crud is done
- 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
- 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
- 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
- they need multishipping on because the options eventually become a part of the quote, and thus in the order review page
- Jared H.
- 14:43
- 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
- options are not apart of the cart
- until the very end at billingAction
- 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
- since this is now broken
- <--- mind fucked
- 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
- amateur hour X a billion
Add Comment
Please, Sign In to add comment