The problem : I have two products A and B in cart. Two of them are shipped from different locations and thus i need to calculate shipping for these two products separately (with the source Zip as different). Which is the best way to do this?
I was thinking while the shipping is calculated remove one of the products and let magento calculate the shipping for product A. Then after the the shipping is calculated using and observer we send another request to fedex with the product B and the different Zip code as source. I am not sure but i believe this is possible by observing the events sales_quote_address_collect_totals_before and sales_quote_address_collect_totals_after . I am having trouble getting quote details in here , that's another story.
Maybe split the order as in Split order into seperate orders and calculate shipping seperately with ups and fedex and different origin addresses
I understand this but unable to start somewhere on coding level.
Or is their even another easier simpler solution that doesn't include a paid plugin.
Only requirement calculate shipping for products shipped from two different locations.Also i am using onepagecheckout.