File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/Quote/Model Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 39
39
use Magento \Quote \Model \Quote \Address \TotalFactory ;
40
40
use Magento \Quote \Model \Quote \Item \AbstractItem ;
41
41
use Magento \Quote \Model \ResourceModel \Quote \Address \Rate \CollectionFactory ;
42
- use Magento \SalesRule \Model \Rule ;
43
42
use Magento \Shipping \Model \CarrierFactoryInterface ;
44
43
use Magento \Store \Api \Data \StoreInterface ;
45
44
use Magento \Store \Model \ScopeInterface ;
119
118
* @method float getShippingInclTax()
120
119
* @method Address setShippingInclTax(float $value)
121
120
* @method float getBaseShippingInclTax()
122
- * @method Rule[] getCartFixedRules()
121
+ * @method \Magento\SalesRule\Model\ Rule[] getCartFixedRules()
123
122
* @method int[] getAppliedRuleIds()
124
123
* @method Address setBaseShippingInclTax(float $value)
125
124
*
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ public function loadByCustomerId($quote, $customerId)
102
102
103
103
if ($ data ) {
104
104
$ quote ->setData ($ data );
105
+ $ quote ->setOrigData ();
105
106
}
106
107
107
108
$ this ->_afterLoad ($ quote );
@@ -124,6 +125,7 @@ public function loadActive($quote, $quoteId)
124
125
$ data = $ connection ->fetchRow ($ select );
125
126
if ($ data ) {
126
127
$ quote ->setData ($ data );
128
+ $ quote ->setOrigData ();
127
129
}
128
130
129
131
$ this ->_afterLoad ($ quote );
@@ -148,6 +150,7 @@ public function loadByIdWithoutStore($quote, $quoteId)
148
150
149
151
if ($ data ) {
150
152
$ quote ->setData ($ data );
153
+ $ quote ->setOrigData ();
151
154
}
152
155
}
153
156
You can’t perform that action at this time.
0 commit comments