For BigCommerce merchants using Blueprint themes who create offers with a discount with our Boost Sales and Checkout Boost apps, the products' variants will automatically be duplicated in their store backend and might be displayed on the invoices when customers complete orders including these discount products.


How to hide BK variants from invoice templates?


Simply login your BigCommerce admin dashboard and follow these steps:

  • Go to Storefront >> Template files >> Invoice_print.html


hiding BK variants on bigcommerce


  • Copy and insert the below snippet code into the end of the template: 


<span style="font-size: 16px;"><span style="font-family: Helvetica,sans-serif;"><script>
// Beeketing hide print invoice BK variants
if (document.getElementsByClassName('ProductAttributes').length) {
  var hideOrderAttributes = function ($orderItemOptions) {
    if ($orderItemOptions.length) {
      for (var i = 0; i <= $orderItemOptions.length; i++) {
        if ($orderItemOptions[i] &amp;&amp; $orderItemOptions[i].textContent.indexOf('(BK ') !== -1) {
          $orderItemOptions[i].parentNode.parentNode.removeChild($orderItemOptions[i].parentNode);
        }
      }
    }
  };
  hideOrderAttributes(document.querySelectorAll('.ProductAttributes .ConfigurableProductRow .Label'));
}
</script></span></span>


If you still see the variants, please contact us for support from our team.