Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

173
Vistas
Shopfiy Locale Selector form

I am in the process of adding a locale selector to my shopify theme. Basically, i need to have the form auto submit on selection, rather than the user make the selection from the dropdown, then press submit. How would I edit this code to make that happen?

I would remvove the submit button alltogether!

{% form 'localization' %}
  
<select name="country_code">
    
{% for country in localization.available_countries %}
      
<option value="{{ country.iso_code }}"
        
{%- if country == localization.country %} selected="selected"{% endif %}
      
>
        
{{ country.name }} ({{ country.iso_code }}) - {{ country.currency.symbol }}
      
</option>
    
{% endfor %}
  
</select>
  
<input type="submit" value="Update">
{% endform %}

Shopify documentation on this is here: https://shopify.dev/themes/internationalization/multiple-currencies-languages?shpxid=400ba4ec-D0ED-488B-F8D1-3B448EF5D236

Thanks all!

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda