更新
This commit is contained in:
parent
5490cb5447
commit
92061aeaf8
@ -1137,7 +1137,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
|||||||
}
|
}
|
||||||
$product_source_id = 0;
|
$product_source_id = 0;
|
||||||
$product_mer_id = 0;
|
$product_mer_id = 0;
|
||||||
if ($cart['source'] == 103) {
|
if ($cart['source'] == 103 ||$cart['source'] == 105) {
|
||||||
$old_product_id = Db::name('store_product')->where('product_id', $cart['product_id'])->value('old_product_id');
|
$old_product_id = Db::name('store_product')->where('product_id', $cart['product_id'])->value('old_product_id');
|
||||||
if ($old_product_id) {
|
if ($old_product_id) {
|
||||||
$old_mer_id = Db::name('store_product')->where('product_id', $old_product_id)->value('mer_id');
|
$old_mer_id = Db::name('store_product')->where('product_id', $old_product_id)->value('mer_id');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user