浏览代码

Ajout du champ behaviorAddToCart

reduction
Fab 4 年前
父节点
当前提交
172fcefbe2
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. +11
    -0
      ShopBundle/Controller/Admin/ProductFamilyController.php

+ 11
- 0
ShopBundle/Controller/Admin/ProductFamilyController.php 查看文件

@@ -69,6 +69,17 @@ class ProductFamilyController extends AdminController
'expanded' => true
));

$formBuilder->add('behaviorAddToCart', ChoiceType::class, array(
'empty_data' => 'by-product-family',
'choices' => array(
'field.ProductFamily.behaviorAddToCartOptions.simple' => 'simple',
'field.ProductFamily.behaviorAddToCartOptions.multiple' => 'multiple'
),
'translation_domain' => 'lcshop',
'multiple' => false,
'expanded' => true
));

$formBuilder->add('propertyOrganicLabel', ChoiceType::class, array(
'choices' => array(
'field.ProductFamily.organicLabelOptions.ab' => 'ab',

正在加载...
取消
保存