File tree 1 file changed +3
-3
lines changed
app/code/Magento/Checkout/Model 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -260,16 +260,16 @@ public function getQuote()
260
260
}
261
261
262
262
/**
263
- * If current currency code of quote is not equal current currency code of store,
263
+ * If current currency code of quote is not equal to current currency code of store,
264
264
* need recalculate totals of quote. It is possible if customer use currency switcher or
265
265
* store switcher.
266
266
*/
267
267
if ($ quote ->getQuoteCurrencyCode () != $ this ->_storeManager ->getStore ()->getCurrentCurrencyCode ()) {
268
268
$ quote ->setStore ($ this ->_storeManager ->getStore ());
269
269
$ this ->quoteRepository ->save ($ quote ->collectTotals ());
270
270
/*
271
- * We mast to create new quote object, because collectTotals()
272
- * can to create links with other objects.
271
+ * We must to create new quote object, because collectTotals()
272
+ * can create links with other objects.
273
273
*/
274
274
$ quote = $ this ->quoteRepository ->get ($ this ->getQuoteId ());
275
275
}
You can’t perform that action at this time.
0 commit comments