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? Commented Dec 2, 2021 at 12:28
  • Im use magento 2.4 PHP
    – NoOn
    Commented 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
    Commented Dec 3, 2021 at 5:29
  • share the code which you try. Commented Dec 3, 2021 at 5:41
  • thanks for answer!!!
    – NoOn
    Commented Dec 6, 2021 at 12:18

Your Answer

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

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