Remove "- 1" from "1 - 1" in the Quantity Breaks Grid

In Quantity Breaks, you can replace text or characters in the Quantity Breaks grid. To do this, please follow the steps below.


The Quantity Breaks (standalone) app is no longer available for new installations. If you are currently using Quantity Breaks (standalone), you will be able to continue using the app on a grandfathered plan.

Any new installs of the Quantity Break app will be redirected to Custom Pricing which has a Quantity Breaks plan available. For more information on Custom Pricing, please visit Custom Pricing: Information and Overview.




  1. From Shopify's admin, select Online Store.
  2. Select Actions.


  3. Select Edit code.
  4. Under Templates, select product.liquid.

    Note: If your theme contains sections, you may have to make these changes in a different file, like product-template.liquid under Sections.

    select product.liquid

  5. Add this code to the bottom of the file:
    var has_changed = false;
    $('#shappify-qty-msg').on('DOMNodeInserted', function(e) {
    has_changed = true;
    var newtext = $(".shappify_qb_grid:visible tbody").children(":first-child").children(":first-child").text().replace('- 1', '');
    $(".shappify_qb_grid:visible tbody").children(":first-child").children(":first-child").text(newtext); 

    copy and paste this code

  6. Select Save.
Was this article helpful?
0 out of 0 found this helpful