I want to calculate shipping rates and shipping methods based on shipping origin.
In Cart page shipping estimation and checkout page i want to calculate shipping charges based on different shipping origin locations.
I will have different shipping origins at cart page shipping estimation and checkout page after shipping address save.Now i want to pass dynamic shipping origins to calculate shipping charges.
any suggestions or ideas on where to start and how to get it.
I want same as Where is the code that calculates shipping from origin.
but how to handle
I Want to replace ship-from configuration fields dynamically in shipping estimation and checkout process