I need to store my mobile number in my Shopify store registration form。

Solved
New Member
4 0 0

最近,Shopify主题的开发存在问题。我的公司需要在商店的目标网页上添加手机号码字段,并将其存储在客户中。我怎样才能做到这一点?

 
创建新的客户记录
POST /admin/api/2019-10/customers.json
 

我试图通过jQuery Ajax访问admin API,但只能获取一些数据。都张贴并放回Shopify的登录页面。我有点困惑。

0 Likes
Highlighted

Success.

please follow it to add extra filed in customer registration form

https://help.shopify.com/en/themes/customization/forms/get-more-information-with-customer-registrati...

 

or 

<label for="CustomerFormAllergies">Mobile No</label>
<input type="number" id="CustomerFormAllergies" name="customer[note][mobile_no]" placeholder="mobile no">

 

Shopify theme developer and customization

I Would like to add new functionality or customize an existing one, please hire me.
If helpful then please Like and Accept Solution .
Email: ashiquehussaincodediary@gmail.com

1 Like
New Member
4 0 0

The solution you put forward can solve my problem very well. At the same time, I will continue to learn the development of Shopify theme. Do you have any book recommendation on the development theme? I also have a question: can the theme of shopifly realize login only by mobile phone number? I hope to have technical communication with you.

0 Likes

for any help you can email me .i will try to solve your problem.

Shopify theme developer and customization

I Would like to add new functionality or customize an existing one, please hire me.
If helpful then please Like and Accept Solution .
Email: ashiquehussaincodediary@gmail.com

0 Likes