diff --git a/vendor/magento/module-reward-graph-ql/Plugin/Quote/Model/Quote/TotalsCollector/ResetQuoteRewardPointsAmountPlugin.php b/vendor/magento/module-reward-graph-ql/Plugin/Quote/Model/Quote/TotalsCollector/ResetQuoteRewardPointsAmountPlugin.php new file mode 100644 index 00000000000..2bababe02ee --- /dev/null +++ b/vendor/magento/module-reward-graph-ql/Plugin/Quote/Model/Quote/TotalsCollector/ResetQuoteRewardPointsAmountPlugin.php @@ -0,0 +1,34 @@ +setRewardPointsBalance(0); + $quote->setRewardCurrencyAmount(0); + $quote->setBaseRewardCurrencyAmount(0); + } +} diff --git a/vendor/magento/module-reward-graph-ql/etc/graphql/di.xml b/vendor/magento/module-reward-graph-ql/etc/graphql/di.xml index 8e784521828..296b51a7cea 100644 --- a/vendor/magento/module-reward-graph-ql/etc/graphql/di.xml +++ b/vendor/magento/module-reward-graph-ql/etc/graphql/di.xml @@ -46,4 +46,7 @@ + + +