Custom Delivery Form - Suggested Value Feature

Custom Delivery Form - Suggested Value Feature

RobertoLopezMon
Visitor
2 0 0

Hello,

I would like to add a custom form that would look like similar to the standard delivery form located in the check out page. I would like to have the feature of suggested results available on it. My objective is to been able to store those address in the metadata from each customer. 

 

Any idea how can I accomplish this? I tried using the Forms app but it did not work as it does not have the suggested values capability.  

Replies 2 (2)

LitExtension
Shopify Partner
4915 1005 1183

Hi @RobertoLopezMon 

Adding a custom form that mimics the standard delivery form on the checkout page, including suggested address results, and storing that data in customer metadata is totally doable, but it requires a mix of Shopify features and some custom work.

The easiest way to achieve this is by using Google Places API for address suggestions and storing the selected address in Customer Metafields. Here’s how:

  1. Enable Google Places API – Get an API key from Google Cloud Console and enable the Places API.
  2. Add a custom input field on your desired page (e.g., customer account page).
  3. Use JavaScript to integrate Google Autocomplete – This will provide real-time address suggestions.
  4. Store the selected address in Customer Metafields – You can use an app like Metafields Guru (no coding required) or Shopify’s API to save the data.

This way, your customers get address suggestions, and you can store the data for future use. Let me know if you need help setting it up!

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
RobertoLopezMon
Visitor
2 0 0

Hello, 

This sounds like it could work. However, I will need some help. Can you aid me through the process, please?