One way would be to set a metafield on that product that determines the quality levels. The theme code could read that value and change whatever selector you have from being in sets of one to instead count in higher steps. A tag could be used too, but that doesn’t feel like the right place to store data like that. If your ERP is the master record keeper you’d just need to make sure the middleware can push over that additional field.
If metafields sound like an approach you can NOT use perhaps there’s other logic the theme could use (like titles, product vendors, sku codes, etc) to determine what to show.
Depending on the theme you might also need to add the code the cart page, or cart popups to keep things consistent.