anchor.diff:                  bool didUpdateID = false;
                   string checkoutVariantId = checkoutLineItem.variant().id();
                   string checkoutLineItemId = checkoutLineItem.id();
  -                
  -                foreach(CartLineItem cartLineItem in LineItems) {    
  +
  +                foreach(CartLineItem cartLineItem in LineItems) {
                       if (cartLineItem.VariantId == checkoutVariantId) {
                           cartLineItem.ID = checkoutLineItemId;
                           didUpdateID = true;
  
positive.code:             _IsSaved = true;
          }
  
          private string VariantIdFromSelectedOptions(Product product, Dictionary<string, string> selectedOptions) {
              List<ProductVariant> variants = (List<ProductVariant>) product.variants();
              string variantId = null;
  
              foreach(ProductVariant variant in variants) {
                  List<SelectedOption> variantSelectedOptions = variant.selectedOptions();
  
                  if (variantSelectedOptions.Count == selectedOptions.Keys.Count) {
                      variantId = variant.id();
  
                      foreach(SelectedOption variantOption in variantSelectedOptions) {
                          string optionName = variantOption.name();
                          string optionValue = variantOption.value();
  
                          if (!selectedOptions.ContainsKey(optionName) || selectedOptions[optionName] != optionValue) {
                              variantId = null;
  
                              break;
                          }
                      }
                  }
  
                  if (variantId != null) {
                      break;
                  }
              }
  
              return variantId;
          }
  
          private void OnLineItemChange() {
  
negative.code:         /// Debug.Log("Did delete? " + cart.LineItems.Delete(product, selectedOptions));
          /// \endcode
          public bool Delete(Product product, Dictionary<string, string> selectedOptions) {
              string variantId = VariantFromSelectedOptions(product, selectedOptions).id();
  
              if (variantId == null) {
                  return false;
  