To replace text or characters in the Quantity Breaks grid, please follow these steps:
- From Shopify's admin, select Online Store.
- Select Actions.
- Select Edit code.
- 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".
- Add this code to the bottom of the file:
<script> var has_changed = false; $('#shappify-qty-msg').on('DOMNodeInserted', function(e) { if(has_changed==false){ 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); } }); </script>
- Select Save.
That's it!
Next Steps:
- Pause Quantity Breaks Group
- Remove the App Variant Name (2+, 3+, etc.) from the Cart Page
- Remove the First Row of the Quantity Breaks Grid