Start a conversation

Remove character "`" at the end of cart page (Version 2.6.0)

In you Footer Script (Manager panel > Storefront > Footer Script)


Add the below script to your Footer Script.

<script>
(function(){
    setTimeout(function () {
        var body = document.querySelector('body');
        if (body) {
            var childNodes = body.childNodes;
            for (var i in childNodes) {
                if (typeof childNodes[i] === 'object') {
                    var child = childNodes[i];
                    if (child.nodeName == '#text' && child.data.trim() === '`') {
                        body.removeChild(child);
                    }
                }
            }
        }
    }, 250);
})();
</script>


Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Papathemes

  2. Posted

Comments