Checkout : Customer Locale

Blessy
New Member
7 0 0

How does customer-locale value in checkout api response determined? is it from browser settings ?

0 Likes
KarlOffenberger
Shopify Partner
1868 183 818

Good question.

Did a quick test using browsers in different locales but customer_locale was always "en" which is also what the store locale is. Thus, I suspect any orders placed via the store will extend that locale to the customer_locale.

@Shopify - clarification?

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie
0 Likes
KarlOffenberger
Shopify Partner
1868 183 818

Hmm, even after changing the stores language to "de", still customer_locale remains "en". Confusing.

Liked this post? You might also like our fantastic upsell apps Candy Rack, Last Upsell post-purchase and Candy Cart or offer free gifts with Gift Box. All made with ❤️  and care by Digismoothie
0 Likes
fhferreira
New Member
1 0 0

We can send "order" customer_locale through the API or not? SHOPIFY said that param is "read-only" on API doc. 

https://shopify.dev/docs/admin-api/rest/reference/orders/order#create-2021-01

0 Likes