浏览代码

Merge branch 'develop'

master
Guillaume 3 年前
父节点
当前提交
8592d088bc
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      Factory/Product/ProductFamilyFactory.php

+ 2
- 0
Factory/Product/ProductFamilyFactory.php 查看文件

@@ -6,6 +6,7 @@ use App\Entity\Product\ProductFamily;
use Lc\CaracoleBundle\Context\SectionContextTrait;
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
use Lc\CaracoleBundle\Model\Product\ProductFamilyInterface;
use Lc\CaracoleBundle\Model\Product\ProductFamilyModel;
use Lc\CaracoleBundle\Model\Section\SectionInterface;
use Lc\SovBundle\Factory\AbstractFactory;

@@ -15,6 +16,7 @@ class ProductFamilyFactory extends AbstractFactory
{
$productFamily = new ProductFamily();

$productFamily->setBehaviorAddToCart(ProductFamilyModel::BEHAVIOR_ADD_TO_CART_SIMPLE);
$productFamily->setSaleStatus(true);
$productFamily->setStatus(1);


正在加载...
取消
保存