All things Shopify and commerce
Hi,
My store has two locales - English and French. Once an order is made by a customer, we would like to find out whether the customer shopped in English or French, ideally somewhere in the order such as in the notes. I am not sure where to add the code "{% request.locale.name %}" as I cannot control the checkout. Normally, the locale would appear in the "Notes" of the order.
Hi there,
Did you happen to find out how to do this? We are also looking for this information.
Thank you so much in advance for your answer!
Hi,
I haven't found a direct result. However, what I ended up doing is adding the Shopify code {{ request.locale.name }} next to the cart note code within the template "cart". This is shown below. So in the front end, the customer will see the language name in their cart note (which they can delete), and that note I can access in the order notes.
{{request.locale.name }} {{ cart.note }}
Hi, is there an update? is there a better solution until today?
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025