预售商品支持跨区域购买
This commit is contained in:
parent
6d6eccb016
commit
050208900a
@ -82,7 +82,7 @@ class StoreOrderCreateRepository extends StoreOrderRepository
|
||||
$allowDelivery = true;
|
||||
$activityProductCount = 0;
|
||||
foreach ($merchantCartList as $merchantCart) {
|
||||
if (($merchantCart['type_id'] != Merchant::TypeSupplyChain) && $address) {
|
||||
if (($merchantCart['type_id'] != Merchant::TypeSupplyChain) && $address && $merchantCart['list'][0]['product_type'] != 2) {
|
||||
if ($merchantCart['street_id'] != $address['street_code'] && $createOrder && !in_array($merchantCart['mer_id'], $takes)) {
|
||||
throw new ValidateException('不支持跨区域购买,请在【我的】-【地址管理】更改后重新购买');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user