How to eliminate "Select" from variants

Is there a way to not show (or translate) word “Select” on product variant list ?
It’s ok when all pages are in english, but it looks unprofessional if your store is in other language

Rafal

Javascript could be used to change the value of the text. With JQuery the .val() function would be used.

Determine the target by inspecting the element on the published site.

Share your published site URL (with page in question) if you need more help.

I’m having same issue. https://www.yksitotuus.fi/product/yksitotuus-lippis Dont know how to use any JQuery function. Strange that its not translatable. Additionally in shopping cart when taex are calculated “Country taxes” appear but there is no way to translate it, as its not showing in editor. Could you kind sir help me out?

I ran into the same issue. I have written some Javascript to fix the issue.

<script>    
const x = document.querySelectorAll('.w-commerce-commerceaddtocartform select');

window.onload = function() {
    for (i = 0; i < x.length; i++) {
        x[i].options[0].innerHTML = "";
    }
};
</script>

The script above finds every select field in the Add To Cart widget and replaces the first option with an empty string.

<script>    
const x = document.querySelectorAll('.w-commerce-commerceaddtocartform select');

window.onload = function() {
    for (i = 0; i < x.length; i++) {
        x[i].options[0].innerHTML = "";
    }
};
</script>

This code removes the first option all together.

Hope this helps.