how to auto detect user zipcode using geolocator ? and save it to cart page shipping calculate field (also save state city as per zipcode using google api) and also save as well as checkout and my account page ?
i need this because i want to change product price increase and decrease as per user zipcode for us website.
i used product price as per pincode plugin for : user can enter zipcode in home page using popup manually. (i edit custom code also)
(after enter zipcode it display in cart shipping calculate field (state and city also display there as per zipcode using api) but not save just display only. for save want to click on update after visiting cart page. its not save disrect using popup.
i used discount rule pro plugin for price discount as per state.
this plugin work but need to visit the cart for refresh zipcode provided by popup.
So help me how to update zipcode in cart page without vising the cart page…..