Familiarize yourself with the use of JS SDK events and methods.

Create additional switcher


Switch to another language

Using inline javascript code


or using event listener

var links = document.querySelectorAll(".language-link");

for(var i = 0, count = links.length; i < count; i++) {

    links[i].addEventListener("click", function(e) {
        var code = e.currentTarget.dataset.code;

Switch to another currency

var selector = document.getElementById("simple-selector");

selector.addEventListener("change", function(e) {
    var code = e.currentTarget.value;

React on the opened dropdown switcher


Take action only if certain language is chosen


Format product price


Show price in your own format


Save user last language before language switched


Track switching the currency with Google Analytics


Start your 14-day free trial today!

Schedule meeting

Try LangShop free for 14 days by entering your domain of Shopify store.