anchor.diff:    url += '.json';
   
     if (new_quantity == 0) {
  -    showAlert(t("js.admin.orders.quantity_unchanged"));
  +    ofnAlert(t("js.admin.orders.quantity_unchanged"));
     } else {
       $.ajax({
         type: "PUT",
  
positive.code:   var inventory_units = _.where(shipment.inventory_units, {variant_id: variant_id});
  
    if (quantity == 0 && inventory_units.length == shipment.inventory_units.length) {
      showAlert(t("js.admin.orders.cannot_remove_last_item"));
      return;
    }
  
  
negative.code:     }
  
      $('a.delete-item').click((event) => {
        ofnConfirm(() => {
          handle_delete_click('#custom-confirm');
        });
      });
  