|
|
@@ -582,7 +582,7 @@ class ProductController extends BaseController
|
|
|
$ptItemId = $productInfo->itemId;
|
|
|
ProductClass::changeSinglePrice($shop, $ptItemId, $price, $skPrice, $changeParams);
|
|
|
//在首店修改需要同步到所有直营店
|
|
|
- if ($default == 1) {
|
|
|
+ if ($default == 1 && isset($shop->dataSync) && $shop->dataSync == 1) {
|
|
|
foreach ($chainShopList as $chain) {
|
|
|
if ($chain->id == $shop->id) {
|
|
|
continue;
|