Currently when users add items ot their cart, each time they do so they must re-select their country, state, and zip code in order to see how much shipping will be. This has been a point of frustration for users in our testing.
We would like to have someone modify shipping-calculator.liquid to do the following:
For non-logged in users:
Set a domain level session cookie upon first set of Country, State, Zip
Read that session cookie to default to their Country, State, Zip on subsequent loads of of the cart.
Update cookie if they change any of these three values.
For logged in users:
Default to their account address (if it exists), unless a cookie is set, in which case use the cookie values.
If they change their Country, State, Zip on subsequent loads of their cart, the cookie should be updated.
general:
Should work with any subdomain www, shop., etc..
Should work regardless of how they load the cart (going straight to the cart, or adding an item to their cart).
Not that it should matter, but we are using USPS and UPS rate calculation.
I think this is probably 2-3 hours of work for someone who knows their way around shipping-calculator.liquid, javascript/jquery/ajax, cookies, etc.. We're better with liquid than jquery/ajax stuff & have other priorities we're working on right now.
We'd like to keep the budget to $400 for this, but you're welcome to make the code public afterwards, sell it to others, etc.. we don't need exclusive use.