Hi @JanneWassberg
The option to change the âcountry taxâ text is currently not available natively within Webflow.
We do have a bit of custom code that can be added to the project to change the âCountry Taxesâ text. The code is as follows:
`const translations = {
âState Taxesâ: âDoofenshmirtz Taxâ,
âCity Taxesâ: âDoofenshmirtz Taxâ,
âCounty Taxesâ: âDoofenshmirtz Taxâ,
âCountry Taxesâ: âDoofenshmirtz Taxâ,
};
// **************************************************************** //
const extraItemsNode = document.getElementsByClassName(
âw-commerce-commercecheckoutordersummaryextraitemslistâ
)[0];
const config = {
characterData: true,
attributes: true,
childList: true,
subtree: true,
};
const callback = function (mutationsList, observer) {
for (let mutation of mutationsList) {
if (mutation.type !== âchildListâ) {
continue;
}
for (const addedNode of mutation.addedNodes) {
if (!addedNode.firstChild) {
continue;
}
for (const taxType in translations) {
if (~addedNode.firstChild.innerText.indexOf(taxType)) {
addedNode.firstChild.innerText = translations[taxType];
}
}
}
}
};
const observer = new WebKitMutationObserver(callback);
observer.observe(extraItemsNode, config);
`
**** Make sure you place this in a opening and closing script tags.
You can replace the text âDoofenshmirtz Taxâ with what you would like to be displayed instead of âCountry Taxes.â
You would also do this with the Discount one too.
Custom code is available on Webflow sites that have site plans (hosting) or projects in a paid account plan.
Please refer to the following articles for how to include custom code on Webflow sites:
Please let me know if you have any other questions,
~ Happy Designing ~
Brandon