How can I hide "Simple Bundle" discount tags on customer orders?
To follow this guide, you will need access to add "additional scripts" in the Shopify checkout settings. Shopify recently announced that additional scripts are deprecated. However, in non-Plus stores, you can Revert your thank you page.
How to revert thank you page
Stores that previously created customizations with order status page additional scripts and apps with incompatible customization features can revert to using those customizations. To revert, go to Settings > Checkout and click Revert in the Order status page section.
Then select the reason you want and confirm the revert. After that, you can add additional scripts and complete the steps below.
Use JavaScript to hide the bundle contents on a customer's status pages
If you would like to hide the Simple Bundles discount tag that is part of bundle items, you can do so by modifying the Additional scripts on your status page.
1. Navigate to the Settings page.
2. Click on the Checkout section on the page.
3. Scroll down to Additional Scripts section.
Add the following code to the Additional Scripts section. If you already found code there, add the new code at the end, just after the existing code:
<style>.notice.notice--info, .notice.notice--warning{display: none}</style><script>function removeBundleItemsSbTag(){var e=document.querySelectorAll("[data-product-id]");for(let t=0;t<e.length;t++){var n=e[t];n.innerText.includes("SIMPLE BUNDLES:")&&(n.innerHTML=n.innerHTML.replace("SIMPLE BUNDLES: ",""))}}document.addEventListener("DOMContentLoaded",removeBundleItemsSbTag),document.querySelector(".order-summary-toggle").addEventListener("click",function(){setTimeout(removeBundleItemsSbTag,100)});;</script>
Once added, your bundle items' "Simple Bundles" tags should be removed from the order status page that customers can view after the order is placed.