Allow user to select different address as the shipping address in the cart

Allow user to select different address as the shipping address in the cart

ironpro
Shopify Partner
24 0 5

Hi,

I’m displaying the default user shipping address at the top of the cart as the default value in a select dropdown. I need to allow the user to select a different address as the shipping address for the cart. After that, when they click on checkout, the selected address should be reflected on the checkout page.

I tried implementing this on the storefront using JavaScript, but it didn’t work. Now, I’m considering resolving it using the Admin API and hosting the application on a third-party platform.

Is this approach possible? Has anyone had experience with this?

Thank you.

Screenshot_4.png

Developer
Reply 1 (1)
ironpro
Shopify Partner
24 0 5

Hi @shipperhq-dave 
Yes the idea is to calculate shipping rate on the cart.
So the customer should be able to select their shipping address.

Developer