code: private function resetCalculations ()
      {
          $this->shopCalculations = null;
          if (Config::get('shop.cache_calculations')) {
              Cache::forget($this->calculationsCacheKey);
          }
      }
docs: Resets cart calculations.