Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
How to submit Currency form in Shopify?

I am create a currency selector form and submitting it by js . But i am not able to submit . below is the code. Can anyone help? I donot want to use submit button in this .

Form code:

          {% form 'currency'   %}
         


    {% for currency in shop.enabled_currencies %}
      {% if forloop.first == true %}  <span> {{currency.iso_code}} {{currency.symbol}}  </span>
              
            </span>

          <div>
        <ul  class="-ml-4 py-2">
       {% endif %}
         
        <li  value = "{{currency.iso_code}}">{{currency.iso_code}}</li>
                                             
    {% endfor %}
            </ul>
         
  </div>
          
{% endform %}

js:

<script>
  $( document ).ready(function() {
    
$('.shopify-currency-form li').on('click', function() {
   $(this).addClass('selected').siblings().removeClass('selected');
   $(this).attr("name","currency");

  
  $(this).parents('form').submit();
});
    });
  
  </script>
 
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!