Guest User

Untitled

a guest
May 21st, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. $quote = $this->prepareShippingAssignment($quote, $address, $carrierCode . '_' . $methodCode);
  2. $this->validateQuote($quote);
  3. $quote->setIsMultiShipping(false);
  4.  
  5. try {
  6. $this->quoteRepository->save($quote);
  7. } catch (Exception $e) {
  8. $this->logger->critical($e);
  9. throw new InputException(__('We are having a problem getting shipping rates. Please check the address you entered or contact customer service.'));
  10. }
Add Comment
Please, Sign In to add comment