File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 46
46
* @method \Magento\Quote\Model\Quote\Address\Item setSuperProductId(int $value)
47
47
* @method int getParentProductId()
48
48
* @method \Magento\Quote\Model\Quote\Address\Item setParentProductId(int $value)
49
+ * @method int getStoreId()
50
+ * @method \Magento\Quote\Model\Quote\Address\Item setStoreId(int $value)
49
51
* @method string getSku()
50
52
* @method \Magento\Quote\Model\Quote\Address\Item setSku(string $value)
51
53
* @method string getImage()
@@ -168,6 +170,8 @@ public function importQuoteItem(\Magento\Quote\Model\Quote\Item $quoteItem)
168
170
$ quoteItem ->getProductId ()
169
171
)->setProduct (
170
172
$ quoteItem ->getProduct ()
173
+ )->setStoreId (
174
+ $ quoteItem ->getStoreId ()
171
175
)->setSku (
172
176
$ quoteItem ->getSku ()
173
177
)->setName (
Original file line number Diff line number Diff line change 352
352
comment =" Super Product Id" />
353
353
<column xsi : type =" int" name =" parent_product_id" padding =" 10" unsigned =" true" nullable =" true" identity =" false"
354
354
comment =" Parent Product Id" />
355
+ <column xsi : type =" smallint" name =" store_id" padding =" 5" unsigned =" true" nullable =" true" identity =" false"
356
+ comment =" Store Id" />
355
357
<column xsi : type =" varchar" name =" sku" nullable =" true" length =" 255" comment =" Sku" />
356
358
<column xsi : type =" varchar" name =" image" nullable =" true" length =" 255" comment =" Image" />
357
359
<column xsi : type =" varchar" name =" name" nullable =" true" length =" 255" comment =" Name" />
394
396
<constraint xsi : type =" foreign" referenceId =" QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID_QUOTE_ITEM_ITEM_ID"
395
397
table =" quote_address_item" column =" quote_item_id" referenceTable =" quote_item"
396
398
referenceColumn =" item_id" onDelete =" CASCADE" />
399
+ <constraint xsi : type =" foreign" referenceId =" QUOTE_ADDRESS_ITEM_STORE_ID_STORE_STORE_ID" table =" quote_address_item" column =" store_id"
400
+ referenceTable =" store" referenceColumn =" store_id" onDelete =" SET NULL" />
397
401
<index referenceId =" QUOTE_ADDRESS_ITEM_QUOTE_ADDRESS_ID" indexType =" btree" >
398
402
<column name =" quote_address_id" />
399
403
</index >
403
407
<index referenceId =" QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID" indexType =" btree" >
404
408
<column name =" quote_item_id" />
405
409
</index >
410
+ <index referenceId =" QUOTE_ADDRESS_ITEM_STORE_ID" indexType =" btree" >
411
+ <column name =" store_id" />
412
+ </index >
406
413
</table >
407
414
<table name =" quote_item_option" resource =" checkout" engine =" innodb" comment =" Sales Flat Quote Item Option" >
408
415
<column xsi : type =" int" name =" option_id" padding =" 10" unsigned =" true" nullable =" false" identity =" true"
Original file line number Diff line number Diff line change 212
212
"product_id" : true ,
213
213
"super_product_id" : true ,
214
214
"parent_product_id" : true ,
215
+ "store_id" : true ,
215
216
"sku" : true ,
216
217
"image" : true ,
217
218
"name" : true ,
233
234
"index" : {
234
235
"QUOTE_ADDRESS_ITEM_QUOTE_ADDRESS_ID" : true ,
235
236
"QUOTE_ADDRESS_ITEM_PARENT_ITEM_ID" : true ,
236
- "QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID" : true
237
+ "QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID" : true ,
238
+ "QUOTE_ADDRESS_ITEM_STORE_ID" : true
237
239
},
238
240
"constraint" : {
239
241
"PRIMARY" : true ,
240
242
"QUOTE_ADDRESS_ITEM_QUOTE_ADDRESS_ID_QUOTE_ADDRESS_ADDRESS_ID" : true ,
241
243
"QUOTE_ADDR_ITEM_PARENT_ITEM_ID_QUOTE_ADDR_ITEM_ADDR_ITEM_ID" : true ,
242
- "QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID_QUOTE_ITEM_ITEM_ID" : true
244
+ "QUOTE_ADDRESS_ITEM_QUOTE_ITEM_ID_QUOTE_ITEM_ITEM_ID" : true ,
245
+ "QUOTE_ADDRESS_ITEM_STORE_ID_STORE_STORE_ID" : true
243
246
}
244
247
},
245
248
"quote_item_option" : {
You can’t perform that action at this time.
0 commit comments