diff --git a/app/common/repositories/store/product/ProductRepository.php b/app/common/repositories/store/product/ProductRepository.php index ac45ff70..102d2bf8 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -1779,6 +1779,7 @@ class ProductRepository extends BaseRepository $cart = null; $where = $this->dao->productShow(); $where['product_id'] = $data['product_id']; + $where['product_type'] = $data['product_type']; unset($where['is_gift_bag']); $product = $this->dao->search(null, $where)->find();