0

How can I update the quote when I open the checkout page? Like this $quote->save();

2
  • are you required php code or JS code? Dec 2, 2021 at 12:28
  • Im use magento 2.4 PHP
    – NoOn
    Dec 2, 2021 at 12:41

1 Answer 1

2

I think you need to add before $quote->save()

$quote->collectTotals();
3
  • thanks for answer, but its not help me, how can I update it globally? for all store
    – NoOn
    Dec 3, 2021 at 5:29
  • share the code which you try. Dec 3, 2021 at 5:41
  • thanks for answer!!!
    – NoOn
    Dec 6, 2021 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.