Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * After place order callback
- */
- afterPlaceOrder: function () {
- // Override this function and put after place order logic here
- },
- $this->_quote = null;
- $this->setQuoteId(null);
- $this->setLastSuccessQuoteId(null);
- + $this->setLoadInactive(false);
- + $this->replaceQuote($this->getQuote()->save());
- return $this;
- }
- <a class="action primary continue" href="<?php /* @escapeNotVerified */ echo $block->getUrl() ?>"><span><?php /* @escapeNotVerified */ echo __('Continue Shopping') ?></span></a>
- </div>
- </div>
- + <script>
- + require([
- + 'Magento_Customer/js/customer-data'
- + ], function (customerData) {
- + var sections = ['cart'];
- + customerData.invalidate(sections);
- + customerData.reload(sections, true);
- + });
- + </script>
- </div>
Add Comment
Please, Sign In to add comment