Printful personalization tool language issue

Printful personalization tool language issue

MatthiasTheiser
Visitor
1 0 0

Unfortunately I didn't manage to set the Printful personalization tool to German despite the language settings in the backend (see screenshot).

 

personalization tool language issue.png

 

As a workaround, I have written a small code snippet which will be placed in the product-template.liquid (or similar, depends on your theme) and looks for the button and changes the text via .innerHTML. Maybe it will help someone else too.. 😉

 

<script>
  var checkExist = setInterval(function() {
    if (document.getElementById("pfCustomizeProductBtn")) {
      document.getElementById("pfCustomizeProductBtn").innerHTML = "Jetzt personalisieren";
      clearInterval(checkExist);
    }
  }, 100); // check every 100ms
</script>

 

Best regards,
Matthias

Replies 0 (0)